hello,
I need help in using tree component. I create tree nodes from database and use <rich:tree binding="#{main.lefttree}" id="lefttree" nodeSelectListener="#{main.listenermethod}" switchType="client" value="#{main.nodes}"/> on jsp page. Tree correctly displays nodes on the page. And nodeselected listener method runs when I click on any treenode, But how can I get which treenode is selected?
nodeselectedevent.getsource(), nodeselectedevent.getComponent() returns tree component not the treenode component selected.
Thank You.
Good question that needs an immediate answer in the documentation, moving to top of the list.