If you really need to wait then you have to put that code that needs to wait inside the onSuccess method (directly, via a method call or by sending an event).
Why do you have to wait? In most cases I have something like: 1.) disable controls 2.) make request 3.) re-enable controls once the request completes. And if I have two requests where the second one depends on the first one I'll do them in a batch request that combines both requests into one. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/4G1QLTakG6IJ. 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.