Thursday, November 28, 2013

What is the simplest way to show “loading indicator” during an RPC call in GWTP?

I've successfully used the Scheduler. scheduleDeferred() method to show progress indicators. Launching such a thing shouldn't be done directly by the thread which is handling an event ie. Your code which is called once the page has loaded and which fires off the async RPC request.

Note that I can't speak to the suitability of my approach in the context of a GWTP application as it has been some time since I looked at that framework.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/groups/opt_out.

No comments:

Post a Comment