[jboss-user] [JBoss Portal] - Multi-CMSPortletWindow uri change with one URL

cavani do-not-reply at jboss.com
Tue Jun 24 20:09:48 EDT 2008


Hi,

I have three CMSPortletWindow in the same Portal Page: List, Content, Related.

In CMS, I have something like:

index.html
Item1/index.html
Item1/index_related.html
Item1/file1.html
Item1/file1_related.html
...
ItemN/index.html
ItemN/index_related.html
ItemN/fileK.html
ItemN/fileK_related.html

index.html is a list of all ItemN/index.html and is shown at List.

When user click in some link on List the expected behavior is:

Content shows ItemN/index.html
Related shows ItemN/index_related.html

ItemN/index.html is a list of all ItemN/fileK.html

Again, when user click in some link on Content:

Content shows ItemN/fileK.html
Related shows ItemN/fileK_related.html

I am using the following address in index.html (a href):


  | /portal/MyPortal/default/Content?action=2&uri=/ItemN/index.html
  | 

This allow I have bookmarkable pages.

I am trying to implement and IPC that allow WindowNavigationEvent to be evaluated by both windows: Content and Related.

My idea was using an listener on page to intercept the event to Content and returning an equivalent event to Related (changing uri) and again returning an event to Content, but I realize just the last returned event take effect over window content.

This problem can be solved with IPC?

Is there any way to intercept an node event and fire another and both take effect?

Any idea other idea?

(I can post the related code to clarify my current idea)

Thanks,

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

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



More information about the jboss-user mailing list