Hi,

I'm currently developing my second GWT-based site and trying to fit
the Activity/Place style of MVP this time around.  But at the moment,
I'm struggling a bit thinking how can a popup widget be achieve with
the said approach.

Well, basically, I have this main page which I call Home (with
matching HomeView, HomePlace and so on), and then I've got this
"Login" link on which popups (using a PopupPanel) LoginViewImp.  At
the moment, the most straight forward idea I've got to make this
happen is to embed the LoginView interface in HomeView interface (via
getLoginView).  That said the login panel's view gets setup (with all
the click handlers and stuffs) at HomeActivity rather than
LoginActivity if I am to carry out the Activity/Place concept all the
way through.

However, I do not want to end up doing similar thing for every
composite/popup that I'm going to include in my Home place as it is
going to be a bad looking MVP implementation and kinda defeat the
purpose if I'm going to stuck everything in one Activity.

So, I'm curious to know whether there's a more proper way or "popups"
are actually an exception to the rule and must be treated as part of
the whole activity.  Or if there's any "large scale" example for this
"large scale" solution.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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.

Reply via email to