On Wed, Nov 4, 2009 at 2:04 AM, gwtfanb0y <siegfried.b...@googlemail.com>wrote:
> > I would recommend to integrate the login into the GWT page. This works > very great > for me (collected good experience with it) and is easy to implement. > So everything looks smooth. > > Siegfried, what is the mechanism to start with a login page view, then switch to the application view once authenticated, but still using the same base HTML page? How do you swap out the login page layout and put in the new one? And presumably if your RPC shows they are no longer logged in, it can then revert back and display the login page view again. Is there a way to create these as separate modules (new to all of this) and then have them swap in/out? And it seems like there would be more issues for memory leaks and such doing this as you'd certainly need to be sure to clear out all objects in the other views as they change. I know it's possible as I've seen in in gmail, switching from inbox to contacts, etc., but not clear how to make it work. Any code examples we can study? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---