5 Replies Latest reply on Nov 7, 2013 6:53 PM by Brian Leathem

    Rich:Tree Update Selection Programmatically

    Antonis Katsikadamos Newbie

      Hi All.

       

      I have a rich faces Tree where each node is of Type

       

       

      import javax.swing.tree.TreeNode;

      class TreeNodeImpl extends NamedNode implements TreeNode {

       

       

        private static final long serialVersionUID = 1L;

       

        private WebRepositoryObject data;

        private TreeNodeImpl parentNode;

        private List<TreeNodeImpl> childNodes;

       

       

        public TreeNodeImpl() {

        super();

        }

       

       

        public TreeNodeImpl(WebRepositoryObject data, String type) {

        super();

        this.data = data;

        this.setType(type);

        }

       

      }

       

       

      How can i traverse rich:tree in order to update the selected node programmatically.

       

      Thank you in advance,

       

      Antonios