I have an application utilizing A&P with an MVP set-up. There are some situations where I want to create some self-contained widgets (think, a small alert window that needs to fire and event or a box that might want to pull some data from a server). They aren't whole views and don't occupy entire display regions, but I want to maintain the MVP approach.
I've seen a few approaches that include specifying a callback interface in the widget that your presenters (the one driving the view that holds the widget) would implement, but that would mean writing the same code multiple times if you use the widget in more than one view. I'm curious what people are doing when faced with this situation. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/gmFzc0QgRgIJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
