on 05-03-2010 9:49 AM
Hi experts.
I have an issue with the standard Web Dynpro component 'FileUpload'. I'm trying to customize the ouput text, so i can translate it to several languages. I've tried almost everything but so far, i wasn't able to find a solution.
Can you help me with it?
Best Regards.
Tusquimer.
[Example|http://img203.imageshack.us/i/dibujozwj.jpg/]
The FileUpload UI element is kind of special. The input field and button aren't separate UI elements rendered in HTML. It is just the HTML element <input type=file>. The button is generated by the browser, not Web Dynpro.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello.
So, in this case, would it be possible to generate some JavaScript code to change button's text? That's the first thing i thought of.
In case this is not possible, i was thinking of creating two different elements, the input field and the button (Doing it this way, i had no problems with the translation).... But i'm not sure how to do it, because the standard ABAP functions like CL_GUI_FRONTEND_SERVICES are not working....
Thanks for your help.
Regards
Tusquimer
You can not create custom JavaScript in Web Dynpro. You can not really perform a file upload without the FileUpload UI element. The is no "faceless" version of the upload because of browser security sandbox reasons. The only alternative is the ACFUpDownload in 7.01 - althought there is no file open/save dialog until 7.02 and the upload process was actually designed for the Content/Cache Server and you would have to write your own file upload handler.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b9157c878a2d67e10000000a42189c/frameset.htm
Here is an example of how to use with a custom upload handler:
or to build your own upload using Adobe Flex and FlashIslands (also 7.01).
Here is an example:
Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.