You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Stefaan Nachtergaele <st...@nachtergaele.net> on 2002/09/24 09:04:34 UTC
inter portlet communication - how to?
Hi all
I would like to have my portlets communicate with eachother. The kind of
things I want to do is:
On closing portlet x, display tab 3, change the controller for the tab to
25/75 column, minimize portlet y and display portlet u and v in normal mode.
Obviously, it makes no sense to handle this on portlet level of 'x'. this
needs to be done on Controller level (PanedPortletController).
I make a CommsPortletController which subclasses
VelocityPanedPortletController. I override getContent(RunData) to first
calculate what tab needs to be displayed, then call the super method. The
calculation is delegated to a PortletComms instance. There's one PorletCOmms
instance for each per user session. On each level I override the controller
to change the layout for the underlying portlets.
Is this the way to go about this?
Thanks,
Stefaan
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>