Forum /
Ext GWT Community Forums (1.x) /
Ext GWT: Help & Discussion (1.x) /
Drag/Drop from desktop into browser
Drag/Drop from desktop into browser
Hi
Is it possible to drag/drop files from a desktop into the browser
e.g.
- drag an image and get gxt to render it ?
- drag a zip file and gxt can display its contents ?
Basically is this possible with the gxt toolkit ?
thanks
Ext GWT Premium Member
no, I don't believe you can - as this is a browser security problem - not GXT or GWT.
You could write a GWT wrapper around Yahoo Browser Plus and that would work. However, your application will then be dependent upon Yahoo Browser Plus and will require your users to download and install it. This may are may not be feasible, YMMV.
-JP
Thanks for all your responses.
The only other alternative I found was using an applet, but there seems to be little on this and could be buggy, + not feasible - http://www.ongwt.com/post/2008/10/17...et-Integration
You can do it by using HTML5 capabilities for DnD as described here
by making a wrapper class that maps Java functions into javascript native code
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us