1 Reply Latest reply on Mar 19, 2007 12:02 PM by Christian Bauer

    richfaces tree component help

    baris sahin Newbie

      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.