[jboss-user] [JBoss Portal] - Show current CMS path

mikebutler do-not-reply at jboss.com
Thu Mar 13 18:58:53 EDT 2008

I've been trying for days to get some inter portlet communication going on. I want to define a portlet that shows the current navigation path of the CMS portlet. So when I navigate somewhere new, the path displayed in my portlet changes as well.

To do this, I have to create an event listener in my portlet, register the event listener for the CMS portlet window's events, and then handle those events to read the session variables and pass them into a new event to my portlet.

First of all, this seems overly complex. Is there an easier way to do this? Secondly, the short example that exists replaces the action event from portlet a with an action event that goes to portlet b. Is there a way to NOT replace the event, and make another event and execute that one too? It seems to me there is no way based on the sample code to read the new path in an event handler, and have the CMS still navigate to its new location and render while also updating the path in my portlet and re-rendering that too.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136488#4136488

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136488

More information about the jboss-user mailing list