Thomas and Christian already gave you useful answers. I want to a
On Aug 30, 2:40 am, Christian Goudreau <goudreau.christ...@gmail.com> wrote: > Implement a Batch request. You can use the gwt-dispatch project. It's an > implementation of the command pattern really well done that allow you to > batch request and a lot of thing like rollback, caching, etc. > > Christian > > On Sat, Aug 29, 2009 at 8:36 PM, ThomasWrobel <darkfl...@gmail.com> wrote: > > > I think your options are; > > a) Just nest one request inside the other. > > or > > b) Do both requests separately, but within both the OnResponse check a > > flag to see if the other one has finished as well. If either flags > > that both are done, then trigger the message/code you want to run > > based on this. > > > I think b is better, but I'm sure someone else might have better more > > detailed advice. > > > On Aug 30, 2:20 am, Jaap <jaap.hait...@gmail.com> 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 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 -~----------~----~----~----~------~----~------~--~---