SmartGWT Server File Browser
- by jluzwick
Hi All:
I have been looking for a SmartGWT example that would show me how to build a File Browser widget that takes the files from the local server's root directory. The user would be shown the files through the browser which they could then select to perform some processing operations.
So far I have thought of using SmartGWT's Tree-Data Binding-Load from Local Data Widget and then grabbing a list of the directories using:
new File("\").listFiles();
My Question is: Is there a better way to do this? Has someone already thought of this and has an example of their code that I can see?
PS: I'm fairly new to GWT and Web Services but fairly competent with Java. If you believe there is a better way to do this (while still doing this through the web and not using Applets, please tell me).
Thanks