Elemental missing getWindow().newFormData()
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;
interface FormData { void append(DOMString name, Blob value, optional DOMString filename); void 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home