Palietta schrieb: > obviously, in the code sample, the AsyncCallback object returned by > doLengthComputation() is not an AsyncCallback<String> ... > and I must have forgotten a closing bracket in the poll() function... > > still, any ideas?
Why are you calling timer.run()? The comment doesn't fit to that because the start of the timer already happens at the beginning with t.scheduleRepeating(1000) Is there some kind of synchronization happening on server- side, blocking the retrieval of the status while the computation is still in progress? Maybe some printlns on the server-side help to find out. In addition to that you might check inside the timer if another status-request is still active to avoid the flooding of requests. Regards, Lothar --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---