on 03-22-2009 12:07 PM
Hi,
up front, this is a Mobile Client Application for Laptops question.
I'm trying to implement an eventHandler which uploads an image an displays it.
I used a tutorial from the sdn for netweaver 7.1.
In the context is one attribute:
1) imgResource ( FileUpload Element binded to it)
this is my event handler which is binded to the LinkToAction text to upload the image
public void onActionImageUpload(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, com.sap.demo.imgupload.imguploadcomp.wdp.IPrivateImgUploadCompView.IResourceElement resourceElement )
{
//@@begin onActionImageUpload(ServerEvent)
if(resourceElement.getImgResource() != null) {
// Further Logic
}
//@@end
}
Any Suggestions why the if is always false?
Hi Satish Kumar,
thanks for your answer.
I'm a bit puzzled because, if I exaktly follow the tutorial, I still get null for the resourceElement.
Is there a difference between standard web dynpro and web dynpro for mobile application for laptop?
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 |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.