0 Replies Latest reply on Feb 15, 2011 5:01 AM by veerendra

    Multiple values in TreeNode setData

    veerendra

      Hi,

       

      Is it possible to set more than one value to a tree node using setData

       

                TreeNodeImpl childChildNode1 = new TreeNodeImpl();

                childChildNode1.setData("ABC", "ID");

                childChildNode1.setParent(childNode);

                childNode.addChild("1.1", childChildNode1);

       

      I have a requirement like.. If we select a tree node I need to pass the ID of the node to backend and get the description of the node.

       

      JSF2.0, RichFaces3.3, GlassFish 3.0.1

       

      Regards,

      Veerendra