I have two partial examples, one to create and send a formdata programmatically https://github.com/intendia-oss/autorest/blob/gwt-jsinterop/gwt/src/main/java/com/intendia/gwt/autorest/client/XhrResourceBuilder.java and other to get the datafile that can be added to a formdata https://github.com/ibaca/dndfiles-gwt/blob/ceda44a6aa5b3497808a7d33ed7ed40b12cc9027/src/main/java/dndfiles/client/DndFiles.java#L45. Not sure if this will help you, but... this is all you need to know https://www.html5rocks.com/en/tutorials/file/xhr2/ 😊👌.
El mié., 16 de noviembre de 2016 18:05, P.G.Taboada <pgtaboada@gmail.com> escribió:
Hi,--I want to upload a file using ajax/ elemental.I already have the file. How do I get a formdata populated and sent?bgds,Papick
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment