hi,

I have a window with some form fields and 2 buttons, "add" and
"cancel". One of the fields has a listener associated. The listener
does a RPC call to the server to do a validation and it can update the
value. The listener is fired when the field loses the focus. The
button "add" sends the data into the form fields to the server side
with another RPC call.

The problem that I have is:

If I change the value of the field, and, without losing the focus, I
click in the "add" button, then two RPC calls are done, the one inside
the listener and the one associated to the button. I would like that
the action associated with the button would be called after the
listener action (RPC call) has finished. Is there any way of doing
this ?

Thanks !

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