On Tue, Oct 4, 2011 at 7:53 PM, Jens <jens.nehlme...@gmail.com> wrote:

> Yeah ok maybe I missunderstood your solution example. But your general idea
> is correct:
>
> 1.) do the first async request
> 2.) in the callbacks onSuccess method of the first request execute the
> second async request.
>
> So basically you are chaining async requests.
>

Yep, by chaining async reqs I want to enforce a strict order of execution.


> Thats the way to go, or try to fix your code in a way that its not
> dependent on the order of async request results.
>

I think that's the way to go ...kind of. Somehow I should make every
non-RPC/RequestFactory method capable of being executed inside a callback
and *not *vice versa (as I'm [trying] to do it now). In fact my code sample
works but on each 10th request or so, I get a client-side
"UmbreallaException", could be anything ... :(

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