From: joehobson <nu...@jb...> - 2005-05-10 16:34:45
|
I ran into this same limitation in the JSR-168 spec. the functionality was important enough to me that i found a workaround for it, and one that is not specific to JBP. If you have two portlets in a portlet-app then they share application scope session attributes. I have a navigation portlet in the left column, and a view portlet as the main content. My navigation consists of ActionURL links, sending a param for which page to view. The processAction stores the page to view in the session attribute. When each of the portlets go thru their doView rendering, the session attribute is set and they display based on that. So the navigation portlet can show which page the user is on, and the main content portlet can display the page that was chosen. It's not the most elegant approach, but it's working so far. I would also like for the spec to expand to impliment some form of interportlet communication, but for now i'll just use session attributes. ... .joe View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877221#3877221 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877221 |