Exactly Greg, you have already assured me on that way  (also map with
additional info isn't bad idea).

Thanks
Natalie


On Mar 11, 6:16 am, GregD <[email protected]> wrote:
> Well, the RPC approach seems like a very straightforward way to go.
> Have a command that takes a String as an argument (the path to the
> directory of interest), and returns a Collection of Strings (the files
> and directories in the directory of interest).  Or you could return a
> Map, with relevant metadata as the key (i.e. "File", "Directory"), and
> a Collection of Strings as the value.
>
> Greg
>
> On Mar 10, 2:59 am, "Natalie.Lawrey" <[email protected]> wrote:
>
> > Hi
> > Any suggestions?
>
> > /*  I know that java.io.File is not serializable over the network BUT
> > in my app I definitely need to present end-user list of files residing
> > on the server (not all - but in one directory).
>
> > First idea that come to my mind is to just send through RPC call file-
> > names (plain strings) - but I'm not sure whether it's a good way to
> > go.
> >  */
>
> > Regards
> > Natalie
>
>

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