Hi I actually did this on my project. http://personaltaskmanager.appspot.com source code is available at http://code.google.com/p/personaltaskmanager/
This is how I did it. I used GWT's remote procedure call api. if connection is failed I started a timer object (GWT timer) after 5 minutes it calls connection code again. and if it is successful I stop timer or I go for another 5 minutes. To try how it works 1)open project. 2)create a todo list.(which will start timer) 3)close internet conenction. 4)and press sync button. by the way I am looking for users :) right now ,I only have myself :) On Oct 16, 1:48 am, AndiMullaraj <[email protected]> wrote: > There are cases when blocking calls to server are indispensable > (agreed, assync calls are the way to go for 99% of the cases). > > I scanned the client API and cannot find a way on how to do this. If > not through a direct API call, is there a way on how to achieve this? > (Like having a wait/process_events loop going until the response comes > from the server). > > Thanks for you attention, --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
