cancel
Showing results for 
Search instead for 
Did you mean: 

problem: Web Dynpro Java 6.40 FileDownload control in table

Former Member
0 Kudos

Hi guys,

I have the problem to display FileDownload elements in a table. Unfortunately it is NOT NW04s, but it is the old Release 6.40.

Theoretically speaking, this should be possible too. (Performance wont be good according to two SDN articles of Betram Ganz).

Still I have the following problem:

If I want to obtain IWDModifiableBinaryType to save my file inside the context for displaying in the table then I get java.lang.NullPointerException.

My Context is 0..n node "Submissions" where my file is stored as binary attribute "File1".

Code to get the IWDModifiableBinaryType is:



wdContext.getNodeInfo().getAttribute(IPrivateFormManagerAdminSubmissions.ISubmissionsElement.FILE1);

or:

wdContext.nodeSubmissions().getNodeInfo().getAttribute("Submissions.File1");

Both is not working.

Now I have the question if this should theoretically work and if there are any tips/code snippets how to do this?

Whats wrong with the coding above?

Thank you very much guys,

much appreciated.

Christoph

Edited by: Christoph Koch on Jun 22, 2009 9:48 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

wdContext.nodeSubmissions().getNodeInfo().getAttribute(IPrivateFormManagerAdminSubmissions.ISubmissionsElement.FILE1);

if the element its on the node Submissions then you have to especify it to get the node info. I hope it helps

Answers (0)