You can’t do it in MyFaces.  Because inter-portlet communication will not be defined until the next version of the portlet spec, any communication with another portlet must be done through a vendor-specifc API.

 

Stan Silvert

JBoss, Inc.

[EMAIL PROTECTED]

callto://stansilvert


From: Marcio E Miranda [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 29, 2006 6:01 PM
To: MyFaces Discussion
Subject: How can I access a backing bean associated with a portlet from a backing bean in a different portlet?

 

Hi,

 

I’m trying to access a backing bean (session scope), which is associated with a component inside a portlet from a different backing bean which is associated with a different portlet. The ExternalContext gives me access to the objects belonging to a specific portlet instance session, but hides objects belonging to the state of other portlets. I need access to backing beans belonging to different portlets to enable a rudimentar inter-portlet communication. How can I do that in My Faces?

 

- marcio

Reply via email to