I solve this issue by having a single application wide event bus that is passed to all of the presenters in my application. I bundle it up with other application resources, such as a navigation control and an application wide model, and simply hand it to them in the constructor. So, if I wanted to do the same thing you describe in my application, I would simply have the controller that is listening to your updates push data into the application model, which would then fire off change events in the application event bus, and the other controllers would all be listening to those events.
I haven't used the place/activity thing yet, so I don't know how those work exactly, but I would imagine there should be a way to hand them an application resource bundle on creation. -Ben On Jan 19, 7:59 am, SergeZ <comp1...@gmail.com> wrote: > Hello everybody! Can someone help me to sort things out ? The > question is: is it possible to use EventBus (or just HandlerManager ) > with Activities and Places ? How can I notify a set of my places ( for > example, 5 widgets ) about an event which happened in a particular > place (a widget, not included in those 5 widgets ). > > For example... > I have 6 widgets. Acutaly 6 different pages ( places ). Each of them > consist of a button and a text area (for example). Suppose, I write > some text in widget1's textarea, and I want that text to be displayed > in other 5 text ereas. How can I fire event ( for example > UpdateTextAreaEvent() ). Is there in GWR 2.1's architecture such > mechanism or all this stuff - activities, places and other are just > about history management and more convinient way to switch between > pages ? > > Hope, I have managed to explain my problem quite well. > > Thanks a lot for your time!!! -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.