ship schrieb:

> Sir,

You have to say "yes, master" ;-)

> in GWT, i have a FileUpload class for browsing a file but i don't
> have a functionallity for browsing a folder.

That's because GWT is just HTML with Javascript. In HTML
and Javascript there is nothing like that because of
security-restrictions (there is simply no practical
use of a folder-select-panel for a web-application).

> We had searched for this but could not find a good solution. Is this
> possible that we can use java API in GWT because in java we can use
> JFileChooser for browsing a folder?

You can access a Java-Applet via Javascript, that means
that you can access an Applet from GWT. This is no
functionality already shipped with GWT but using the
JSNI-feature of GWT you can easily implement that
for yourself.

To be able to start a JFileChooser in an Applet you need
to sign it, otherwise your attempt to access the file-
system will be blocked by the SecurityManager.


Regards, Lothar

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to