portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wang Zhi <wzhi2...@gmail.com>
Subject Re: Portlet Communication via Parameter
Date Wed, 27 Jul 2005 00:44:10 GMT
In jetspeed-2, you can use PortletMessaging.publish() and
PortletMessaging.receive() to communicate between portlets.

2005/7/25, Roger Ruttimann <rogerrut@apache.org>:
> The parameter are only available for the destination portlet. You can't
> post parameters to multiple portlets. This is by design (JSR-168).
> If you like to post parameters to multiple portlets you need to put them
> into the session.
> 
> Roger
> 
> diplomarbeit@alexander-goerg.de wrote:
> 
> >Hello all together,
> >
> >
> >I want to access a Parameter in an other Portlet. What to do?
> >In the first Portlet I get the value of the Parameter (getParameter("key")) in the
processAction and add it in a RenderParameter. (setRenderParameter("key", "value");
> >
> >Another Portlet tries to access them (getParameter("key")) - without success. I always
get null.
> >
> >What´s wrong? / exists a better way?
> >
> >best wishes...
> >
> >Alex
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> >For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> >
> >
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> 
>

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


Mime
View raw message