the quick answer is to put everything you want executed AFTER the RPC completes into a method, call that method from the onSuccess() of your AsyncCallback.
-jason On Oct 21, 2008, at 5:51 AM, Edu wrote: > > Hello, I like to know since i can wait for a rpc, have tried with > timer, but there is no way, there is other method? can to put some > example? > The problem is that loads the page, before the rpc catch of the > database the information, for what the information of the page appears > in white, since it has loaded her before the rpc was giving his > response. > > Sorry for my poor english. > > Thanks > > In spanish: > > Hola, me gustaria saber como puedo esperar a un rpc, he probado con > timer, pero no hay manera, hay algun metodo? Podeis poner algun > ejemplo? > El problema es que me carga la pagina, antes de que el rpc carge de la > base de datos los datos, por lo que los datos de la pagina aparecen en > blanco, ya que la ha cargado antes de que el rpc diera su respuesta. > > > Gracias Saludos > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
