cancel
Showing results for 
Search instead for 
Did you mean: 

Local file path in file upload UI element

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

vijay_kumar49
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

junwu
Active Contributor
0 Kudos

i think it is normal.