on 06-22-2009 8:48 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.