-
1. Re: Coordonate portlets across pages thanks to eventing
hoang_to Oct 26, 2010 11:34 PM (in response to funkybreizh)For event-based portlet coordination, you could find an example with Account Portlet and Organization Portlet. The event NewAccountAdded is fired
-
2. Re: Coordonate portlets across pages thanks to eventing
claprun Oct 27, 2010 5:50 AM (in response to hoang_to)That's not the point of the question. JBoss Portlet Container, on which GateIn is based, supports JSR-286 events. The question is whether or not GateIn Portal offers event mediation across pages i.e. transmit events to portlets whether they are displayed on the same page or not. If I recall properly, JBoss Portal offered such an option. I actually don't know what GateIn supports in that respect…
-
3. Re: Coordonate portlets across pages thanks to eventing
theute Oct 27, 2010 6:03 AM (in response to claprun)No we always restricted to the same page, it's considered bad practice and usually and abuse of the portlet event mechanism (To do it cross pages).
-
4. Re: Coordonate portlets across pages thanks to eventing
claprun Oct 27, 2010 6:09 AM (in response to theute)OK, thought we had something like this since I remembered this had been discussed.
And, yes, I agree that events across pages is bad™ in most instances since it leads to the tendency to use JSR-286 events which are meant for UI events (which are only distributed on a best effort basis, with absolutely no guarantee) as business events (which should be better handled at the application level via JMS for example). However, I can think of a scenario where multi-page events could be useful (in an application with a palette-like window issuing UI events to a main window).