Skip to Content
0
Former Member
Jan 30, 2007 at 04:21 PM

Reuse of a dynamic created NodeElement

12 Views

Hi,

how is it possible to reuse a dynamic created attribute in a context? In my Application the user has the option to sort the attributes. But after sorting the attributes I can't use the same method to show the sorted documents (linktoAction) in my view, because of the name. I get the message: <b> duplicate name for attribute FileResource0 </b>.

          for (int i = 0.....){
                ......
		IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().
			addAttribute("FileResource"+i,"com.sap.dictionary.binary");
                fileDownload.bindData(wdContext.getNodeInfo().getAttribute("FileResource"+i));
                ......
           }

regards,

sharam