t:tree 2 an
i am using the t:tree 2 component.
i want to do 2 things when a user clicks on a node.
first of all i want the node to look different, become bold or something like this.
i found the way to do this:
it works fine.
the second thing i want to do is to get the object i put in the node.
the way to do this is:
the method holds actionEvent as a parameter and from it i get the selected node.
the problem is then obvious. 2 action listeners for 2 different things. how can i solve the problem?