Tuesday, October 27, 2015

Re: Progress bar during GWT bootstrap process?

Just to make sure we are on the same page.

How much time does it take to load?

This looks serious overkill to me...

On Tue, Oct 27, 2015 at 6:43 PM, Ali Akhtar <ali.rac200@gmail.com> wrote:

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" <frank.wynants@gmail.com> 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 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.

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



--
Vassilis Virvilis

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