Hello Everyone, Problem: a View and its Presenter want to communicate with another View/Presenter. Special Case: one view is nested in another.
background: to implement MVP for "one view and it's presenter" we would need a View Interface, a View Implementation which is associated with a UiBinder, also a Presenter. Presenter uses View Interface's inner Interface, to communicate with ViewImplementation. (FooVIew, FooViewImpl, FooPresenter, ... ) this i understand. now lets say we have another View/Presenter (BarView, BarViewImpl, BarPresenter) how can these two sets: Foo and Bar, communicate ? i think its best for them to communicate through interfaces, but i dont know who should be in control. and in scenarios that these two sets (Foo and Bar) are having "has a" relationship, should the interfaces talk ? #1 FooViewImpl { private BarView barView; } #2 FooViewImpl{ private BarPresenter barPresenter; } is it better if Views are Nested, or one presenter inside the other viewimpl (basically #1 or #2) if you have any experience with these situation, please help ! -- 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-tool...@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.