on 04-29-2008 2:06 PM
Hi Guys.
I have a question regarding the FILE_UPLOAD element.
I want to upload a file with a predefined path into my application when the user clicks a button. So i use FILE_UPLOAD, set the file_name via context binding and visible to none. I have a button which reads the content of the data attribute and converts it to text and fills a text view.
My problem is that it is not working. It only works when FILE_UPLOAD is visible and the file chooser is used.
Any ideas?
Cheers,
Sascha
Hello Sascha.
Try using the method CL_WD_RUNTIME_SERVICES=>ATTACH_FILE_TO_RESPONSE. You can find and example in the web dynpro component WDR_TEST_EVENTS, view BUTTON.
Regards,
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 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.