I'm seeing this behaviour in GWT 2.1.1.
I am explicitly cancelling the SubmitEvent; yet the following error message
is displayed:
"GWT module 'blahblah.MyApp' may need to be (re)compiled"
I've been unable to completely diagnose the problem, but this might be a
clue:
The FormPanel class has this method
private boolean fireSubmitEvent() {
FormPanel.SubmitEvent event = new FormPanel.SubmitEvent();
fireEvent(event);
return !event.isCanceled();
}
Ultimately, the result of !event.isCanceled() propagates out to this code in
FormPanelImpl.java
form.onsubmit = $entry(function() {
// Hang on to the form's action url, needed in the
// onload/onreadystatechange handler.
if (iframe)
iframe.__formAction = form.action;
return
[email protected]::onFormSubmit()();
});
That's as far as I get with the diagnosis. I cannot see where the event
cancellation prevents the form being submitted.
--
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.