on 07-10-2007 4:23 PM
hi everyone
How can I browse local file using Web Dynpro?And read file names into Context or array. I have tried the following code but its not working
String resourcePath = WDURLGenerator.getResourcePath();
String depObjResourcePath = WDURLGenerator.getResourcePath(Test);
WDDeployableObjectPart appPart = WDDeployableObject.getPart(Test, TestApp, WDDeployableObjectPart.APPLICATION);
help required urgently
Thanks & Regards
Jaspreet Kaur
Use FileUpload UI Element.
The FileUpload UI element is used to upload files from the client to the server.
Data binding:
Property resource determines the data sink in the context, property fileName stores the filename of the uploaded file. The content-mime-type of the uploaded file is saved on the server in the data type.
Regards,
Ashwani Kr Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Ashwini
Basically i want to get the list of files present in a file and then compare it with a file present in my context which will come dynamically in accordance to the user who logs in...then I want to compare these two ie list of contents present in a file with the individual content placed in my context and if they match i shall do the further action...Pls see if u can help me with this...by the fileupload i will be able to physically browse through the directory structure but thats not wut a i require.
Thanks & Regards
Jaspreet Kaur
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.