I am resonably new to Java Webdynpro and have been unable to solve this issue so far if someone has a link to a implementation (pseudo code) it would be greatly appreciated.
I have a context supplied from an interface that is not flat.
With data in the context it may look something like this with value attributes in each Node
Context -
-Node A1
--- Node B1
--- Node B2
- Node A2
--- Node B3
--- Node B4
If the A nodes where only nodes I could loop through the number of Nodes I wanted to create, something like;
INodeAElement tempNode = wdContext.createNodeAElement();
tempNode.setAttributes ..........
wdContext.NodeNodeA.bind(tempNode).
or build and arraylist and bind that ...but when it comes to a Node with daughter Nodes I havent the slight idea of how to build the structure. I'm sure its a very simple answer but I have no idea how to do it, and I havent been able to find any reference on how to do it.
Can anyone point me in the right direction ..
thanks in advance.