On 29 oct, 00:32, Alex Rice <[EMAIL PROTECTED]> wrote:
> I think this seems like a bug, but I'm not sure. This only occurs for
> me when I am using:
>
> form.setEncoding(FormPanel.ENCODING_MULTIPART);
> form.setMethod(FormPanel.METHOD_POST);
> form.submit();
> AND the target of the form responds with a non-html content-type (e.g.
> returns a Json response).
>
> Then GWT doesn't send the  FormSubmitCompleteEvent instead it prompts
> me to download the resulting json,

This is mentionned in the Javadoc for the FormPanel() constructor:
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/FormPanel.html#FormPanel()

> and if I hit cancel, then there is
> a GWT crash message-- too long to post here it's a typical Mac OS X
> stacktrace.

Here I'd say that it is a Hosted Mode bug.


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