I'm not sure that I have anything to add with respect to the original
problem, except that I think that using Window.Location.assign is a
better way to go (not sure how/why it isn't working for you).

> while(control.size() == 0){
> //do nothing.
>
> }

I think that this is a bad move.  This will be an infinite loop
because Javascript is single-threaded.  In fact, I don't think that
your asynchronous rpc handler ever is getting exercised, because this
loop will tie up the Javascript thread.  If you really want to do
something like this, you need to do it periodically on a Timer.  See:
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/Timer.html

Tony
--
Tony Strauss
Designing Patterns, LLC
http://www.designingpatterns.com
http://blogs.designingpatterns.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to