The onSubmitComplete is being fired in IE and Chrome but not firefox.
I've already set the content type to text/html:
resp.setContentType("text/html; charset=utf-8");And when looking into firefox network console I got this as the response:
<p>The specified account hasn't been activated yet</p>but the event isn't fired.
I don't generate any of the page html using gwt, instead I wrap the elements:
private void wrapForm() { this.form = FormPanel.wrap(DOM.getElementById("form"),true); form.addSubmitHandler(this); form.addSubmitCompleteHandler(this); }The onSubmitComplete follows:
public void onSubmitComplete(SubmitCompleteEvent event) { console.debug("Run"); removeLoader(submitLoader); }You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment