You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Ravi Gidwani (JIRA)" <de...@myfaces.apache.org> on 2005/12/30 14:47:01 UTC

[jira] Created: (MYFACES-988) CLONE -Allow tree2 to work within dataList and dataTable

CLONE -Allow tree2 to work within dataList and dataTable
--------------------------------------------------------

         Key: MYFACES-988
         URL: http://issues.apache.org/jira/browse/MYFACES-988
     Project: MyFaces
        Type: Improvement
  Components: Tomahawk  
    Versions: 1.1.0    
    Reporter: Ravi Gidwani


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