Hi,
 
I only JSR 168 communication mechanism is to put an object in the portlet session with application scope. I have a navigation portlet which shows a tree2. When I click on a  node the selection is stored in the portlet session. In the so called main content portlet I have component (or value) binding. In the get/set method of the component/value binding I read the selection attribute from the portlet session and display specific content.
In JSR 168 word the selection attribute is stored in the processAction() and should be read in the render(). My problem was to find a appropriate tigger for the main content portlet to read the selection attribute. I have tested multiple approaches with phase listener but I think the value/component binding is ok. But I have some trouble with some myFaces comonents. E. g. a tabbed pane in the main content portlet corrupts the invokation of the value/component binding of the trigger. When I change the tab, the get/set methods of the value/component binding are no more invoked. I haven't looked after the problem by now. Unfortunately there is a problem with client-side tree2 toggle. With serverside toggling all works, but with client-side my action method of a link node isn't invoked. A server roundtrip occurs, but the method which stores the portlet session attribute is not invoked.
By the way I use a JSF portlet bridge of course, so I have no portlet class implemented.
 
Regards
Oliver


Von: Laurentiu Trica [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 10. November 2006 13:28
An: [email protected]
Betreff: Inter portlet communication

Hi

I am trying to transform a JSF application into 2 portlets.

One for the menu, and the second for the main content.

Can anybody help me out with this? How should I change the menu .jsf file and what should my portlet class look like?
I succeded on putting them as portlets in Liferay, but couldn't handle the navigation between them.

I crawled the web... I found no example. Maybe anyone can help me out.

Thanks in advance

--
Best regards,
Laurentiu

Reply via email to