History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: UP-1936
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andrew Wills
Reporter: Andrew Wills
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
uPortal

Give uPortal DLM the ability to process URLs that target tabs directly

Created: 30/Jan/08 12:17 PM   Updated: 18/Apr/08 10:52 AM
Component/s: Distributed Layout Management (DLM)
Affects Version/s: None
Fix Version/s: 2.6.2, 3.0.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File UP-1936_delta.txt (12 kb)
2. Text File UP-1936_delta.txt (12 kb)

Issue Links:
Duplicate
This issue duplicates:
UP-1833 External link directly to a tab Major Closed
 
Generic Relation
This issue relates to:
UP-1943 Deep linking to Tabs and Channels Major Closed
 


 Description  « Hide
** NOTE: ** This feature was developed by Pearson Education for their portal, which uses uPortal 2.5. Pearson has generously agreed to contribute this feature to the community. Some schools that I work with -- JHU and Univ. Colorado -- are interested in this feature, so I've agreed to do the technical work to integrate it. The work is complete and ready to check in, pending community consensus.

Proposal: uPortal and DLM should be enhanced to support URLs that target a specific tab by 'alphanumeric identifier,' allowing other web sites to post links that take users directly to a chosen tab. URLs such as these can be said to be 'deep-links' to their intended tabs.

These 'alphanumeric identifiers' are neither the name nor the positional index of the tab; they are an additional piece of data, that may optionally be entered (in an additional field) whenever a user creates a new tab or renames a tab. Tabs within DLM fragments that contain these identifiers will support deep-linking URLs for all users who have the appropriate fragment in their layout.

Under the hood, the 'alphanumeric identifiers' will be stored as user-specific folder attributes within the StructureStylesheetUserPreferences object (and on the UP_SS_USER_ATTS table). The DLMUserPreferences channel will be enhanced to provide an appropriate form field and adjust/persist the StructureStylesheetUserPreferences accordingly.

The format for these URLs will be as illustrated in the following example:

  - http://localhost:8080/uPortal/render.userLayoutRootNode.uP?uP_sparam=activeTab&activeTab={identifier}

The DLM structure XSL must also be enhanced to support URLs like these. It will do so by checking for a tab (folder) with an 'externalId' attribute that matches the value of 'activeTab' -- if there is one, that tab's index will be chosen as the active tab index.

I will attach the 2.6 delta for this enhancement to this JIRA issue shortly.


 All   Comments   Work Log   Change History      Sort Order:
Andrew Wills [30/Jan/08 03:36 PM]
Here are all required changes. They affect the following files:
  • properties\db\data.xml
  • webpages\stylesheets\org\jasig\portal\channels\DLMUserPreferences\tab-column\default.properties
  • webpages\stylesheets\org\jasig\portal\channels\DLMUserPreferences\tab-column\default.xsl
  • webpages\stylesheets\org\jasig\portal\layout\DLM-tab-column\tab-column.xsl
  • source\org\jasig\portal\channels\DLMUserPreferences\TabColumnPrefsState.java

Eric Dalquist [31/Jan/08 02:05 PM]
Hey Drew, looks like your text editor line-wrapped the the diff, could you attach a fixed version?

Thanks


Andrew Wills [31/Jan/08 04:19 PM]
Replacing the old version b/c it contains extra line breaks.

Eric Dalquist [05/Mar/08 07:40 AM]
Both of these issues seem to provide the same feature. When work on this starts one should be closed as duplicate.

Eric Dalquist [17/Apr/08 12:23 PM]
Applied to both 2.6 and 3.0