The only reliable way I found was
1. create a boolean flag field, set it to false
2. before the new range is pulled, set the flag to true
- ignore onProxyChange() if the flag is set to true
3. when either onSuccess(), onViolation() or onFailure() is called,
schedule a deferred command to set the flag to false.
- a deferred command is important because the order of onProxyChange
and the range pull callbacks seems to be nondeterministic
It would be very helpful if GWT provided a different enum constant for the
first encounter of the proxy.
--
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.