Re: Confused with parameters

2011-09-21 Thread Alfonso Quiroga
Thanks to Thiago, I could achieve this. It was really easy, I only needed to have a parameter in my tree component with the currentNode. So now it work like this:  Node: ${node} You have to define the "node" variable as a property in the page. Bye! On Wed, Sep 21, 2011 at 12:18 PM, Alfons

Confused with parameters

2011-09-21 Thread Alfonso Quiroga
Hi! I'm a bit confused. I've written a small tree component which iterates the tree and displays it, it work fine, but I write every node in Java (using the MarkUpWriter) Now I want the component more generic, so in the body of the component I can write the node as I want, example: Node: ${cu