Say my initial tree structure is: -Root Node |------Node 1 |------Node 2 |------Node 3
I am able to add a node say Node 2-1 under the parent Node Node 2 But after adding, when the .jsp refreshes, the tree gets collapsed as follows: +Root Node
I want to know how I can retain the Node level at which the sub-node is added, so that after adding the sub-node, the tree structure is as follows (with the added node highlighted): -Root Node |------Node 1 |------Node 2 ----------|Node 2-1 |------Node 3
Please note that I am using Jackrabbit framework for the node creation/deletion
all i want is that after the tree is rendered on a page, the onnodeclick event of a particular node needs to be triggered so that the coresponding documents' attached to the node is shown. i can now make that happen by clicking on that particular node.