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) {
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
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