Re: How to browse a folder by using gwt

2008-11-02 Thread Lothar Kimmeringer

ship schrieb:

> I want to browse a folder. In gwt we have option for file browsing by
> using FileUpload class.
> But we don't have any option for folder browsing.
> What could i use for this? In my application when i click on a button
> which is on a panel then a window should open for folder browsing but
> i can't. Pl reply.

If you can't do it with HTML or Javascript you can't do it
with GWT. What you can do is write a signed Java-Applet and
use JFileChooser where you can specifiy to select a folder
instead of a file.


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 Google-Web-Toolkit@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: How to browse a folder by using gwt

2008-11-01 Thread Adam T

Not sure what you mean by "browse a folder" - using the file upload
the user can navigate around folders to select a file; but I suspect
you mean something else?

You need to remember that GWT is just JavaScript, so if you can't do
something in JavaScript, it's going to be pretty difficult to do it in
GWT.

If you mean to put the directory of a user in a panel on the web page,
that is not possible using JavaScript and so not possible using GWT.
You could try and investigate developing a Flash solution that your
GWT application wraps...

//A

On 1 Nov, 09:27, ship <[EMAIL PROTECTED]> wrote:
> hi,
>
> I want to browse a folder. In gwt we have option for file browsing by
> using FileUpload class.
> But we don't have any option for folder browsing.
> What could i use for this? In my application when i click on a button
> which is on a panel then a window should open for folder browsing but
> i can't. Pl reply.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
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
-~--~~~~--~~--~--~---



How to browse a folder by using gwt

2008-11-01 Thread ship

hi,

I want to browse a folder. In gwt we have option for file browsing by
using FileUpload class.
But we don't have any option for folder browsing.
What could i use for this? In my application when i click on a button
which is on a panel then a window should open for folder browsing but
i can't. Pl reply.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: How to Browse a Folder by using GWT

2008-09-25 Thread ship

Thanx for reply,
Sir, in GWT, i have a FileUpload class for browsing a file but i don't
have a functionallity for browsing a folder.
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? or there is any other solution? Pl
try to solve this problem.

On Sep 25, 1:07 am, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote:
> ship schrieb:
>
> > hi, i've a problem that how to browse for folder in a dialog box in
> > GWT. I want to select a folder not a file. In GWT FileUpload is for
> > browsing a file but i could not find for folder. Pl tell me how can i
> > solve this problem.
>
> I don't think, you can. What do you want with that?
>
> 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 Google-Web-Toolkit@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: How to Browse a Folder by using GWT

2008-09-25 Thread Lothar Kimmeringer

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 Google-Web-Toolkit@googlegroups.com
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
-~--~~~~--~~--~--~---



How to Browse a Folder by using GWT

2008-09-25 Thread ship

hi, i've a problem that how to browse for folder in a dialog box in
GWT. I want to select a folder not a file. In GWT FileUpload is for
browsing a file but i could not find for folder. Pl tell me how can i
solve this problem.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: How to Browse a Folder by using GWT

2008-09-25 Thread Lothar Kimmeringer

ship schrieb:
> hi, i've a problem that how to browse for folder in a dialog box in
> GWT. I want to select a folder not a file. In GWT FileUpload is for
> browsing a file but i could not find for folder. Pl tell me how can i
> solve this problem.

I don't think, you can. What do you want with that?


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 Google-Web-Toolkit@googlegroups.com
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
-~--~~~~--~~--~--~---