Hello Experts,
I am using FileUpload UI Element in Webdynpro Java 7.3, which is bind with 'com.sap.ide.webdynpro.uielementdefinitions.Resource' type attribute. Now if I browse and select the file and click on attach button, Resource file is coming as null and it is asking for select file but I have already selected the file.
I have written the code in Attach Button as:
try
{
if(wdContext.currentNodesElement().getResource() != null)
{
wdComponentAPI.getMessageManager().reportSuccess("File>>" + wdContext.currentNodesElement().getResource().getResourceName());
}
else
{
wdComponentAPI.getMessageManager().reportException("Select File");
}
}
catch (Exception e) {
wdComponentAPI.getMessageManager().reportException(e);
}
If I deployed this in EP 7.3 SP8, it is not working, means even if I browse and select the file and click in Attach Button, it is asking for Select File(Else part means Resource is coming as null).
If I use EP 7.3 SP0, then it is working file(it is printing the File name).
Please Help on this. Is this something related to Portal Installation SP related or suggest on this?
Regards
Durga Rao