You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Daniel Ray (JIRA)" <de...@myfaces.apache.org> on 2005/11/12 02:10:03 UTC

[jira] Commented: (MYFACES-814) Allow tree2 to work within dataList and dataTable

    [ http://issues.apache.org/jira/browse/MYFACES-814?page=comments#action_12357466 ] 

Daniel Ray commented on MYFACES-814:
------------------------------------

Thoughts for fixing this. 

Placing the tree2 component within a panelGrid and using the panelGridId:tree2Id combo.

Using a similar mechanism as forceId and forceIdIndex like selectOneRadio in a dataTable.

> 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