Iam trying to implement a html5 file api + xmlhttrequest level 2 upload on my project.
But sems that Elemental is missing things of FormData and i can't send over XMLHttpRequest object. How to construct a object of FormData ? FormData formData = /*getWindow().newFormData() <- doesn't exist */null; from http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#interface-formdata interface FormData { void append <http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#dom-formdata-append>(DOMString name, Blob <http://dev.w3.org/2006/webapi/FileAPI/#blob> value, optional DOMString filename); void append <http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#dom-formdata-append>(DOMString name, DOMString value); }; in the elemental one just formData.append(name, value, filename) Where all parameters are strings. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/rmkPDiZ0tVkJ. 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.
