on 08-28-2009 12:46 PM
Hi Guys,
I am trying to implement a File Upload in Web Dynpro. I have created a Context Element of type Resource in my Component Controller Context, mapped it to the View Controller Context and bound it to the FileUpload UI Element. However, after having selected a File, I receive the Exception:
java.lang.IllegalArgumentException:
at com.sap.tc.webdynpro.clientserver.data.DataContainer.createLocalPath(DataContainer.java:918)
at com.sap.tc.webdynpro.clientserver.data.DataContainer.updateAttribute(DataContainer.java:347)
at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.AbstractAdapter.updateAttribute(AbstractAdapter.java:1324)
at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.AbstractAdapter.updateAttributeAsKey(AbstractAdapter.java:1010)
at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FileUploadAdapter.onFILEUPLOADCHANGE(FileUploadAdapter.java:494)
Does anybody know what's going wrong?
Thanks, Johannes
Thanks, Guys. That stuff is not useful. I solved the porblem: I had to create and add the Resource element in the Context first..
Johannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I would suggest you to go through below link and follow the procedure.
Here is a link [Upload File|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0e10426-77ca-2910-7eb5-d7d8982cb83f&overridelayout=true]
I hope it will be helpful
Thanks & Regards
Supriya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.