There's a library called gwtchismes that has a progress bar widget, it's
quite handy.

On Tue, May 17, 2011 at 12:10 PM, Juan Pablo Gardella <
gardellajuanpa...@gmail.com> wrote:

> Before you the rpc call, make visible a div with text "processing..." for
> example. In the onSuccess or onFail make invisible again. This approuch is
> used in Pro Web 2.0 Application Development with GWT.
>
> Juan
>
>
> 2011/5/16 Skip <s...@planwithvoyant.com>
>
>> I'm looking for an approach on how to show a "Loading" message/image
>> while waiting for the client to finish an RPC service request that's
>> taking a few moments to complete.  I'm not looking for an approach on
>> startup.  I've got the gist of that more or less.  This question is
>> for how to do it once the app is running.
>>
>> I've seen the approach used in the Spring Roo generated code whereby a
>> RequestEvent is fired after a RequestFactory request runs longer than
>> 250 ms.  This approach makes use of a
>> com.google.gwt.requestfactory.shared.RequestTransport, which only
>> works for RequestFactory.
>>
>> Is there a similar approach to use when using an RPC Service?
>>
>> The following blog post offers up an approach for a view and
>> presenter, but doesn't illustrate how one puts the hooks in place to
>> get the event to fire.
>>
>>
>> http://turbomanage.wordpress.com/2009/10/22/how-to-show-a-loading-pop-up-in-your-gwt-app/
>>
>> Presumbably one could manually fire the AppLoadingEvent each time one
>> makes a call to a service, and in the callbacks when the request
>> completes, but I was hoping there's something more akin to the
>> RequestTransport solution for RPC Service calls.
>>
>> Thanks,
>> Skip Walker
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to