2 Options: make 2 booleans set each in the belonging callback.onSuccess and check them in both callback.onSuccess and go on if both are true
On serverside make 1 method out of the 2 you have now so you have 1 rpc-call the first way would be the semaphore-way ... standard-business On Aug 30, 2:20 am, Jaap <[email protected]> wrote: > Hi, > > When starting my webapp I do two RPC calls. I need the data of both of > them in order to display something. If you work with threads with a > native program you just use semaphores to achieve this. What's the > way to do this in GWT? > > Thanks > > Jaap --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
