[ http://issues.apache.org/jira/browse/MYFACES-760?page=comments#action_12356478 ]
Andrew Efremov commented on MYFACES-760: ---------------------------------------- Thanks Jon, but I set Leaf == true only to example. I don't need to set it. I want to create Tree and never change it in future. In examples TreeState is not modified. And even I must explicitly set expanded for nodes, will I must use function "treeState.collapsePath"?? It's very tedious, because I must write recursive function to collapse all path which can be expanded :-( > Tree2 setLeaf(false) error > -------------------------- > > Key: MYFACES-760 > URL: http://issues.apache.org/jira/browse/MYFACES-760 > Project: MyFaces > Type: Bug > Components: Tomahawk > Versions: 1.1.0 > Environment: Tested in JBoss 4.0.3 with Seam > Reporter: Andrew Efremov > Assignee: sean schofield > Priority: Blocker > > when trying to add nodes to tree2 > TreeNodeBase tree = new TreeNodeBase("document", node.getName(), > node.getId().toString(), false); > result node have tree.isLeaf() == true; > the same is when you trying explicitly set Leaf > tree.setLeaf(false); > result node have tree.isLeaf() == true; -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
