Wednesday, September 17, 2014

onSubmitComplete not fired

I have this scenario I couldn't get right, so any insights are
apreciated:

A FormPanel contains a FileUpload widget, and the server returns a
downloadable content:

response.setContentType("application/x-download");
response.setHeader("Content-Disposition", "attachment; filename=" +
campaignId + ".xml");

Now, the problem is that altough the upload succedes, and the server
generated content is perfectly downloadable, the onSubmitComplete
handle is never called. This is a problem since this way one can't
clear 'Please wait' messages etc.

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