0 Replies Latest reply on Mar 13, 2008 6:58 PM by Michael Butler

    Show current CMS path

    Michael Butler Newbie

      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.

      Help?