This is what I am doing currently. But its not the most user friendly.

I'd like to show a progress bar which indicates how much longer there is to
go.

Worst case, I can override the Dom function for injecting a script, and use
that to request the scripts over websockets, and update the progress with
each frame sent.

Is that what I have to do, or is there a better way?
On Oct 27, 2015 3:51 PM, "Frank" <[email protected]> wrote:

> 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 :
>
> <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 a topic in the
> Google Groups "GWT Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/Cr8DuGnX1lk/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to