Jason Shao wrote:
On Jan 31, 2008, at 2:03 PM, Andrew Petro wrote:

Drew,

Very nice. I know this feature has been asked for more than a few times.

+1 for inclusion of the link-to-tab feature in uPortal 2-6-patches towards 2.6.2 and in uP3.

+1 I'm for this too. 2 questions about Pearson's implementation:

1. What's the behavior if you pass in a tab that doesn't exist? default/current tab? 2. Can you pull tabs which are not currently in your layout, e.g. through a TransientLayoutManager or some such?

Please also update the uPortal Manual wiki space to document the feature when you add it.

I'd also love to see that pretty-URL-to-tab-linking-URL filter included in the core codebase.

+1 on this as well, prettier URLs would be a nice win. I do also think a routing layer in the request flow into the portal would be very generally useful -- it could give us a nice spot to do shortcut links and others.

In the past I've played with the urlrewrite filter [1] which provides mod_rewrite style capabilities for Java applications -- seems like it might be a convenient shortcut for this particular use case, as well as supporting additional configurability.
One of the pending changes in the 3.0 code before the RC is to break out portlet actions into a seperate URL string as an example: render url (channels and portlet render urls) - http://localhost:8080/uPortal/render.userLayoutRootNode.target.n29.uP action url (portlet action url) - http://localhost:8080/uPortal/action.userLayoutRootNode.target.n29.uP

The basis for this is going to be converting the PortalSessionManager servlet into a Spring Controller. Most of the logic in the servlet would get moved into a HandlerInterceptor and then there would be URL pattern matching configured to send the request to the correct controller. Initially with 3.0 this would deal with render, action and worker URLs removing that logic from the rendering pipeline. This change along with the movement of all URL processing into its own pipeline should put us in good position for someone that wants to re-do the uPortal URL format.

-Eric


Jason

[1] http://code.google.com/p/urlrewritefilter/

--

Jason Shao
Application Developer
Rutgers University, Office of Instructional & Research Technology
v. 732-445-8726 | f. 732-445-5539 | [EMAIL PROTECTED] | http://jay.shao.org



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to