Wednesday, June 30, 2010

GWTEvent, sinking own events

I have a UI which has several open views of the same base data. Any
view can change the data and I plan on using a GWTEvent Bus to notify
the changes to the concerned views.

My question is that if View A fires an event (eg. ContactChangedEvent)
for which View A is also a registered listener, will View A catch the
event? or does the event handler implicitly suppress the catch?

If the answer is that View A *will* catch its own event, any
recommendations on how to identify the event in such a way that View A
knows it was the originator?

best
Roy

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment