on 08-17-2011 7:07 AM
I am using a file upload UI element to select an excel file from my computer and then extraact some data from this file and show it on a table on the screen.
It is working fine but as soon as I hit a button "Submit" to upload the file on the server and then read it to populate the data on the table, the path of the local file disappears from the file upload UI element.
Is this normal behaviour or is there a way to retain the local file path in the UI element till the user starts to "browse.." for a new local file.
NWDS Version: 7.02.06
Thanks,
Himanshu
Hi,
Please go through the links below to get an idea in the FileUpload UI Element.
Please Refer this wiki:[FileUpload|http://wiki.sdn.sap.com/wiki/display/WDJava/UploadingexcelfileusingWebDynproforJava]
Hope this helps!!
Regards
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Himanshu,
This is the normal behaviour of File upload UI element in web dynpro.
In the above mentioned link it is mentioned that getting the complete path of the uploaded file from FileUpload UI is not possible (check the comment of Mr.Valery Silaev).
In the above mentioned sdn forum link it is explained why is it not possible to initialize the file path into File upload UI.
Thanks & Regards,
Vishweshwara P.K.M.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i think it is normal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.