on 03-10-2009 1:07 PM
Hi,
I want to display a filesystem structure and its files in a Webdynpro Java Tree UI. I am using Netweaver CE 7.11. The root node of this tree should be the local filesystem on C:\ or a network share for example, which the users can browse and select a file. Therefore I want to display a filebrowser in my Webdynpro Java.
My problem is how to access the filesystem and bind it to my tree UI.
Are there any examples or tutorials reagarding to this?
Any help would be appreciated
Thanks in advance.
Regards, Bernd
Valery Silaev has written an excellent blog about using TreeByNestingTableColumn with recursive context node. It contains a sample project that implements a file browser:
/people/valery.silaev/blog/2005/06/13/master-of-columns-part-i
http://www.jroller.com/resources/s/silaev/HN.zip
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The intention is to give the user the option to see all files in a specified folder on the local filesystem. Not the whole filesystem. For example "root" will be "/home/user/pictures" or a mounted network share. This includes the subfolders of course.
He should browse throught this and select files to download.
Regards
Hi Bernd,
Can you explain the reason for doing this? Why do you want to create your own UI for listing the directory structure? If you want to browse the client system to upload a file then you can use the[ FileUplod UIElement|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5240] [original link is broken] [original link is broken] [original link is broken];.
If it is the server directory structure you need to show first of all you need to have permission to access all the folders. Why would you need to show the user the directory structure of the server?
If you can explain the need for this requirment we can come up with some alternatives.
There are tutorial on how to parse the directory structure like the link given below. [http://vafer.org/blog/20071112204524]
Regards,
Sanyev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Take help from [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/47ce9b90-0201-0010-59b5-f70826824eee]
Best Regards
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.