2 Replies Latest reply on Jun 25, 2008 4:20 AM by Moshe Elisha

    Programatically (server side) select a node in rich:tree

    Moshe Elisha Newbie

      I have a tree with a nodeSelectListener:

      <r:tree id="myTree" value="#{myTree.rootNode}" var="treeVar"
       nodeSelectListener="#{myTree.processSelection}" >

      In the processSelection method I extract the selected value into a data member.
      In some cases I would like to change the selected node in the server side and that the new selected node will be visibly selected in the tree so the user will know which node is currently selected.

      How can this be done?