This content has been marked as final.
Show 4 replies
-
1. Re: Global Update events/@Observe
fernando_jmt Feb 7, 2007 9:02 AM (in response to dahm)
What I did was to add somthing like this:
<page view-id="/list.xhtml" action="#{listBean.resetList()}">
And in the resetList() I am reseting the list, in order to refresh the data using the @Factory which updated the list for the respective @DataModel -
2. Re: Global Update events/@Observe
dahm Feb 7, 2007 9:41 AM (in response to dahm)Thanks, that is a good idea!
I'm generating a lot of code and thus can not always maintain pages.xml
properly in that way.
I still think the feature I proposed would be a "nice to have" in order
to propagate events...
Cheers
Markus -
3. Re: Global Update events/@Observe
gavin.king Feb 7, 2007 10:04 AM (in response to dahm)To share state between "all sessions" you must use application context (or, in a cluster, the PojoCache). There is no way to handle an event in "all sessions" according to the servlet spec.
-
4. Re: Global Update events/@Observe
dahm Feb 7, 2007 10:18 AM (in response to dahm)APPLICATION scoped events are exactly what I need :-)
Cheers
Markus