[ http://issues.apache.org/jira/browse/MYFACES-814?page=comments#action_12361587 ]
Ravi Gidwani commented on MYFACES-814: -------------------------------------- The requirement is quite genuine. I guess the question is "IF I NEED THIS FUNCTIONALITY WONT MYFACE'S SYNTAX SUPPORT IT ?" It would be saying like "nested for loop is supported but nested while loop is not" :( . Anyways these are my thoughts! Should we expect a fix sooner or later ? Or atleast a work-around? > Allow tree2 to work within dataList and dataTable > ------------------------------------------------- > > Key: MYFACES-814 > URL: http://issues.apache.org/jira/browse/MYFACES-814 > Project: MyFaces > Type: Improvement > Components: Tomahawk > Versions: 1.1.0 > Reporter: Daniel Ray > > Placing a tree2 component within a dataTable or dataList renders correctly > but the onClick method generates code similar to the following for each row. > onclick="treeNavClick('org.apache.myfaces.tree.TOGGLE_SPAN:productTree:0' > This has the effect of selecting a node in another tree in a separate row to > always expand/collapse the tree component within the first row. (Though the > +/- icon will change for the selected row). > Perhaps passing the id of the dataList or dataTable (much like dataScroller) > to the tree2 component will help to generate unique ids for each nav image > rendered. -- 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
