Not a "global" location, but you can set it up once for each GWT.create() of 
a given service:

   1. cast the service to a 
ServiceDefTarget<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/rpc/ServiceDefTarget.html>
   2. call 
setRpcRequestBuilder<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/rpc/ServiceDefTarget.html#setRpcRequestBuilder(com.google.gwt.user.client.rpc.RpcRequestBuilder)>with
 a custom class extending 
   
RpcRequestBuilder<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/rpc/RpcRequestBuilder.html>
   3. that class would either:
      - create a custom RequestBuilder, overriding the send() to show the 
      message and wrap the callback to hide it on success or failure
      - show the loading message in onFinish() and wrap the callback to hide 
      it on success or failure
   

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