on 02-09-2006 8:00 AM
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
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.
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 | |
9 | |
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.