You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michal Borowiecki (JIRA)" <de...@myfaces.apache.org> on 2006/07/11 23:45:35 UTC

[jira] Updated: (TOMAHAWK-534) tree2 expan/collapse broken when nested in a dataTable

     [ http://issues.apache.org/jira/browse/TOMAHAWK-534?page=all ]

Michal Borowiecki updated TOMAHAWK-534:
---------------------------------------

    Status: Patch Available  (was: Open)

> tree2 expan/collapse broken when nested in a dataTable
> ------------------------------------------------------
>
>          Key: TOMAHAWK-534
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-534
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: Tree2
>     Versions: 1.1.3
>  Environment: JBoss4.0.4.GA
>     Reporter: Michal Borowiecki
>  Attachments: HtmlTreeRenderer.patch, TreeToggle.PNG, TreeToggleDOM.PNG
>
> When a tree2 component is nested inside a dataTable the expand/collapse button doesn't work properly.
> Only the buttons in the tree in the first table row work correctly.
> Clicking the button to expand the root node in a tree in any row of the table always causes the root node in the first row to expand.
> This is caused by duplicate ids of the SPAN elements. 
> The ids are rendered by HtmlTreeRenderer which incorrectly uses the tree's (simple) id instead of the (full) client id.

-- 
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