Hello

I have a div element into the host page, just a 'please wait' advice
while the gwt code loads.

<!DOCTYPE html>
<html>
  <head>
    <!--...-->
  </head>
  <body>
  <div id="waitPlease" >Loading application, please wait...</div>
  </body>
</html>

And I want to remove it from body when module loads, but I can't.... I
can make it dissapear by making the div invisible; but that isn't what
I want. This is what I've tried so far:

   public void onModuleLoad() {
           GWT.log("onLoad ",null); //TOLOG
           RootPanel.get().clear();
           if (RootPanel.get("esperePorFavor")!= null) {
               RootPanel.get("esperePorFavor").setVisible(false);
               RootPanel.get("esperePorFavor").clear();
               RootPanel.get("esperePorFavor").removeFromParent();
           }
    //....
     }

Has anyone other solution ?

Thanks in advance

-- 
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