AFAIK it is not possible with HTML and js to do what you want (yet?) anyway - there are some upload applets out there some for free (e.g. http://jupload.sourceforge.net/index.html) and some you have to pay for
another alternative would be to embedd some flash-object On 17 Feb., 18:25, Stanley Wong <[email protected]> wrote: > Hi, all, > > I realize other people may have asked this question. I just ask the > question again and see where there would be a solution. > > Is there any way to open a directory dialog from a browser that > enables a user to select a directory? > > Here is what I find: > 1. A file upload dialog is available in GWT, however, the directory > upload dialog is not present. > 2. It is impossible to list files from a client directory, due to the > violation of a same-site policy. > 3. Use the applet approach, an applet containing an AWT file dialog > can be started. However, the AWT file dialog is just a FileUpload > gui. > 4. Use the applet approach, try to write an applet containing a > JFileChooser (swing component), but failed. It sounds a JFileChooser > is not compatible with an applet/japplet object. > > Do you have any ideas? > > Thank you, > > Stanley -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
