cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Node ID

Former Member
0 Kudos

Hi all,

I have a context with a recursion node repeating its parent. The context is bind to a tree ui element. The problem is that I want to extend the tree at runtime. This should be done not by clicking a tree node but by clicking a certain button instead. Every time the user clicks this button a new node should be inserted in the tree on a new level.

The problem here is to get the current last level in the tree in the button event handler. My idea is to use the method getChildNode(). But what is the ID of the (repeated) child node. Is there a naming rule for recursion nodes (e.g. "using the ID of the repeated node followed by a continuous number")?

Thanks in advance for all answers,

Torben

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

Hi Torben,

Check Valery`s nice blog:

/people/valery.silaev/blog/2005/06/20/master-of-columns-part-ii

See implementation of currentEntry method. This method returns current node element and you can use it for child node insert.

Best regards, Maksim Rashchynski.

Answers (0)