Hi, using a multipart form (for uploading a file) the server response is written to a hidden iframe in the FileUploadField. With a listener and Events.Submit a callback can be registered to catch the response data but it is presented as resultHtml.
What if I want the raw data returned from the server, e.g. because the servlet handling the file upload returns an XML containing a status response as well as an identifier to the uploaded data. The resultHTML property in the FormEvent contains HTML elements which are not in my response (and are probably added by the browser) in order to display but the iframe is hidden.
I noticed several things:
* In firefox the data (my response XML) is loaded the to iframe (using Firebug) to inspect, but the FormEvent.resultHTML is null.
* IE triggers the FormEvent several times and the resultHTML is changed (other HTML elements as span and div are added).
How can I get the RAW data?