Hi,

The way that I know to display the value from one portlet A to another,
by example, you put in variable the value that you want that another
portlet B display:


data.getSession().setAttribute( "variable", valueA );


And in the the other portlet B you restore the value:

String varB =(String)data.getSession().getAttribute( "variable");


The value of the varB will be valueA 

Hope that will help 

Assia



-----Original Message-----
From: Xhipra Tyagi [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 04, 2004 9:50 AM
To: [EMAIL PROTECTED]
Subject: Accessing a portlet fro another portlet

I am using Jetspeed 1.5.

I am not able to understand how 2 portlets communicate with each other. 

Say for example, I have a button on 1 portlet. Clicking on this button,
some
message has to be displayed on the other portlet. 

How can this be done?

 

Any help would be great.

 

Thanks,

Xhipra

 

 

 


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

Reply via email to