[ http://issues.apache.org/jira/browse/MYFACES-353?page=comments#action_12318411 ]
sean schofield commented on MYFACES-353: ---------------------------------------- Please see latest source code to see if this suits everyone's needs. It is slightly different in that you need to call expandAll method after tree data has been populated. I modified the simple examples to show how this could be done with a action method. Other possibilities include using Shale's prerender method in ViewController. > [tree2] setExpandAll method for TreeModelBase > --------------------------------------------- > > Key: MYFACES-353 > URL: http://issues.apache.org/jira/browse/MYFACES-353 > Project: MyFaces > Type: New Feature > Components: Tomahawk > Versions: Nightly Build > Environment: All > Reporter: Dennis Byrne > Assignee: sean schofield > Priority: Minor > > Users have asked for an attribute used to expand all nodes when tree2 is > first rendered. > http://www.mail-archive.com/[email protected]/msg05166.html . > I've done this w/ an extension of tree2 > http://www.mail-archive.com/[email protected]/msg05796.html > Other users have experienced problems w/ the extension when adding & removing > nodes: > http://www.mail-archive.com/[email protected]/msg05884.html -- 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
