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

Reply via email to