views:

14

answers:

1

We are developing on an application that uses Portlets and deployed within JBoss portal. All of the portlets on a page are share the same contextual information, meaning every portlet is a different way of viewing the subject of that portal. The current implementation stores data in session so the portal knows which subject to load for a particular page; which is causing problems involving back button behavior and other odd bugs.

We were hoping to store more of the information in the url and access it there instead, but at present we can't find any manner of retrieving information from the URL in the portlets. Is there something obvious we are missing or is this just not possible?

A: 

Public Render Parameter is what you want. Once you select the subject the portlet will set the PRP and other portlet can see it.

http://blogs.sun.com/deepakg/entry/jsr286_public_render_parameter_feature

Jaromir Hamala
Public render parameters are a partial solution, but I would rater avoid having to use them as a) they require a reference to the window in the URL, and they also require going through the action phase, which isn't always going to happen.
Matt