portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liang Chen <landis.c...@gmail.com>
Subject Re: Accessing a portlet fro another portlet
Date Wed, 06 Oct 2004 02:37:37 GMT
if you use j2, putting value in portlet scope(default scope) session
will not solve your problem, try put the value in application scope
session.


On Mon, 4 Oct 2004 10:01:47 -0400, Assia Aouat <assia@canada.sirsi.com> wrote:
> 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:xhipra.tyagi@induslogic.com]
> Sent: Monday, October 04, 2004 9:50 AM
> To: jetspeed-user@jakarta.apache.org
> 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: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Mime
View raw message