Mani, Bharanidharan wrote:
> Hi ,
> I have two requirement. 1. I need to communication between two
> portlet.
I have see this question before, my standard response is "what do you
mean by "communication". If you mean portlet A will generate some data
base on a request and return content to the user AND send data to
portlet B via ???( mailbox/named pipe/database), then I am not sure you
can or should count on the order the content is retrieved from each
portlet.
> 2. When i click on a link on one portlet, it should display the
> content of the link in the same portlet(i.e. refreshing the same portlet).
I portlet should be able to generate a link to itself. See the JSLink
(org.apache.jetspeed.util.template.JetspeedLink) examples.
>
> I read that you can communicate between two portlets by sharing the session
> object. But i am not sure how i should proceed.. can someone tell me how to
> interportlet communication.
You can "share" date via the session, rundata.getUser().get/setTemp().
but again if this is dependent on the order content is retrieved from
the portlets within the same request, you are inviting trouble.
>
>
> thanks
> bharani
>
Paul Spencer
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>