[jboss-user] [JBoss Portal] - Page-level parameters for requests: how to create bookmarkab
thomasra
do-not-reply at jboss.com
Thu Aug 3 09:45:53 EDT 2006
JBossAS 4.0.4.GA
JBossPortal 2.2.1-SP3
The only way to pass a parameter to a portlet AND allow that portlet to render first (before other portlets on that page), is by using action urls. These urls force a reload and are therefore useless for "nice" url's.
Since you can do a ctrl:cmd=render&ctrl:page=Portal.Page, couldn't parameters to that page be delegated to each window on that page?
My case is one where multiple portlets on a single page require the same data based on a parameter (read-only), such as an id for a person, and this page needs to be bookmarkable.
Reiterating:
* With action urls everything except bookmarking works
* With render urls bookmarking works, but ordering is undefined, so the portlet getting the parameter works, but it cannot share that data with other portlets because it might not be called first
* Going out-of-spec by casting the render request to a jboss-specific request could have worked if the class hierarchy exposed the http servlet request which is stored as a protected variable, and then have all portlets get the parameters
What are other people doing with JBossPortal to address these issues?
How do you create something like:
/portal/portal/MyPortal/Users/johndoe
....as a dynamic page that doesn't redirect.
(And no: using a page with a single portlet doesn't quite cut it)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962843#3962843
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962843
More information about the jboss-user
mailing list