Like Peter and Jens said, put a loading indicator in your host html page, and remove it in onModuleLoad.
For example. Put in your html :
-- For example. Put in your html :
<div id="splash">
<div align="center">
<img style="padding-top: 50px" src="img/ajax-loader-64.gif">
<h3>Launching application<BR/>Please wait....</h3>
</div>
</div>
And then in your onModuleLoad
RootPanel.getBodyElement().removeChild(DOM.getElementById("splash"));
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment