Re: Modal Dialog/Non-busy Wait

2012-12-08 Thread Jens
Window.confirm/alert is pretty much the only thing that can halt Javascript execution. You have to refactor your code a bit. Instead of public boolean doPost(String url, String postData) you should use public void doPost(String url, String postData, Callback..., ... callback) {

Re: Modal Dialog/Non-busy Wait

2012-12-07 Thread Rob
On Monday, September 5, 2011 1:01:29 PM UTC-4, melody wrote: I wish to embed an asynchronous call to the server inside a method that MUST NOT return until the server has responded. So I am looking for a way to achieve a non-busy wait in GWT. I thought I could use a modal popup dialog to

Modal Dialog/Non-busy Wait

2011-09-05 Thread melody
I wish to embed an asynchronous call to the server inside a method that MUST NOT return until the server has responded. So I am looking for a way to achieve a non-busy wait in GWT. I thought I could use a modal popup dialog to stop the next line from being executed until the dialog is closed and