onSubmitComplete dosnt seem to be firing on my form, yet firebug shows
the request is returned and no javascript exceptions are fired :-/

I read a few threads on this group, but nothing seems to apply to me.

The response headers I get back are;

Server  - Apache/1.3.41 (Unix) mod_log_bytes/1.2 mod_bwlimited/1.4
mod_auth_passthrough/1.8 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/
0.9.8b
X-Powered-By -PHP/5.2.8
Keep-Alive timeout=15, max=100
Connection - Keep-Alive
Transfer-Encoding - chunked
Content-Type- text/html

Which is ok right?

I also get the response returned correctly according to firebug.

However FormSubmitCompleteEvent never seems to fire. (FormSubmitEvent
does)

Heres the code for the form;

==============

LoginForm.setMethod(FormPanel.METHOD_POST);
LoginForm.setEncoding(FormPanel.ENCODING_MULTIPART);

LoginBits.add(LoginFields);

LoginForm.addFormHandler(new FormHandler() {
                public void onSubmit(FormSubmitEvent event){
                                         Window.alert("logging in4");

                }

                     public void onSubmitComplete(FormSubmitCompleteEvent
event) {

                         Window.alert("logged in");

                        /* lots of code commented out */
                       }
}
============
(LoginFields is a horizontal panel containing the fields)

 I get the "logging in 4" but not the "logged in".

Also, the form is never hidden.

Any ideas for other causes?


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