I'm trying to implement a drag-and-drop file upload for my GWT app. I've tried
http://www.vectomatic.org/gwt/lib-gwt-file-test-latest/lib-gwt-file-test.html http://map-notes.blogspot.com/2013/01/minimal-implementation-of-file-drag-and.html
However the demo itself does not work. What are my options for implementing this for my app without using any Flash solution.
I use the GWT Uplader -
http://www.moxiegroup.com/moxieapps/gwt-uploader/
If the browser is capable of handling file uploads using a modern HTML5 approach, the upload is handled using pure DOM elements and Javascript events. In the case that the browser does not support the modern approach (most notably IE 9 and earlier), the GWT Uploader component instead transparently handles the uploads via the Flash-based SWFUpload library.
I have no problems with it, and it doesn't appear to use flash with any modern browser due the HTML5 support. Didn't take me to long to get it added myself and integrated as they have pretty good documentation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With