[jboss-user] [JBoss Seam] - Global Update events/@Observe
do-not-reply at jboss.com
Wed Feb 7 04:29:15 EST 2007
consider the following situation:
I've got a page and a bean containing a @DataModel list. You can click on the list
and edit one of the entries. Now the list may need an update, because
the contained data may have changed. The user is free to navigate to
this page at any time, so the data needs always to be accurate.
So I raise every time an event when a data item has been changed
using raiseEvent(). The list SSB accordingly
contains a method annotated with @Observe() that resets the list.
This works fine within the same user session. However I'd like to have
something like a global raiseEvent/@Observe that will forward this event
to all current sessions, so that all active users always see the most current
(I'm aware that there still may be a "lost update" problem :-)
I don't know how this can be with Seam.
If this a feature request, I'd suggest that you can scope an event to a
certain ScopeType which is by default the session context.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012323#4012323
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012323
More information about the jboss-user