Hi,

I think you can change the RootPanel element like :

        public void onModuleLoad() {
                cleanCookies();
                // First screen is Connection
                goToConnectScreen();

        }

        public void goToConnectScreen() {
                cleanCookies();
                loginScreen = new LoginScreen();
                RootPanel.get("something").clear();
                RootPanel.get("something").add(loginScreen);
        }

        public void goToGlobalScreen() {
                globalScreen = new GlobalScreen();
                RootPanel.get("something").clear();
                RootPanel.get("something").add(globalScreen);
        }

The methods goToConnectScreen and goToGlobalScreen can be called to
switch between screen.

Hope that help you.
--~--~---------~--~----~------------~-------~--~----~
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