Friday, February 21, 2014

Need to add HTML5 desktop to browser DnD support in GWT application

I need to have a widget that accepts DnD files from the desktop, how can I do this in a GWT 2.5.1 application? See the link below for the JS code to do this. Does GWT already have a widget for this? If not how could I create my own? 

From the link below I understand it all starts with a div in the rendered HTML and then wires in support for DnD with the JS code shown in the link. So in my case I'm starting with a GWT layout and need to add this 'widget' to that existing layout. I've never created my own GWT widget before, would I start with an existing GWT widget and then add the JS via JSNI? If so, what would be the best starting widget to build on?

http://www.htmlgoodies.com/html5/jav...id=TdDQb7R8c9d


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment