Hi,

Yes, it's possible between portlets that are in the same "portlet application" (thanks to 'Attributes' from 'PortletSession' object):

   * one portlet publish the object you want using:

       /request.getPortletSession().setAttribute(String att_name,
       Object att_value, *PortletSession.APPLICATION_SCOPE*);
       /

   * any other portlet in the application can retrieve that object using:

       /Object o = (Object)
       request.getPortletSession().getAttribute(String att_name,*
       PortletSession.APPLICATION_SCOPE*);
       /

Hope that helps.
Regards.


Vijay Aalati escribió:
Hi,

I am new to portals and would like to know if there is a way that we can
communicate between 2 different Portlets on the same page. What I mean
to ask is, if I have 2 different portlets on a page and I do some action
in one portlet then I want to communicate it to the second portlet on
the page and display some information on it based on the action in the
first portlet.

Thanks much,

Vijay Aalati
Software Engineer

Altair Engineering, Inc.

1820 E. Big Beaver Rd.,
Troy, MI, USA - 48083

E-Mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Phone: 248.614.2400 Ext: 348
Fax:     248.614.2411




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to