[richfaces-issues] [JBoss JIRA] Issue Comment Edited: (RF-10811) rich:tree encode duplicate ids.

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Fri Mar 25 14:39:38 EDT 2011


    [ https://issues.jboss.org/browse/RF-10811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591900#comment-12591900 ] 

Nick Belaevski edited comment on RF-10811 at 3/25/11 2:39 PM:
--------------------------------------------------------------

Proposed patch for the issue:


{noformat}
Index: src/main/templates/treeNode.template.xml
===================================================================
--- src/main/templates/treeNode.template.xml	(revision 22316)
+++ src/main/templates/treeNode.template.xml	(working copy)
@@ -26,7 +26,7 @@
         <cdk:call expression="addClientEventHandlers(facesContext, component)" />
         
         <div class="#{concatClasses('rf-trn', component.attributes['styleClass'], tree.attributes['nodeClass'])}"
-            cdk:passThroughWithExclusions="">
+            cdk:passThroughWithExclusions="id">
             <cdk:object name="loadingFacet" type="UIComponent" value="#{getHandleLoadingFacetIfApplicable(component)}" />
             
             <c:if test="#{not empty loadingFacet and loadingFacet.isRendered()}">
{noformat}

      was (Author: nbelaevski):
    Proposed patch for the issue:


Index: src/main/templates/treeNode.template.xml
===================================================================
--- src/main/templates/treeNode.template.xml	(revision 22316)
+++ src/main/templates/treeNode.template.xml	(working copy)
@@ -26,7 +26,7 @@
         <cdk:call expression="addClientEventHandlers(facesContext, component)" />
         
         <div class="#{concatClasses('rf-trn', component.attributes['styleClass'], tree.attributes['nodeClass'])}"
-            cdk:passThroughWithExclusions="">
+            cdk:passThroughWithExclusions="id">
             <cdk:object name="loadingFacet" type="UIComponent" value="#{getHandleLoadingFacetIfApplicable(component)}" />
             
             <c:if test="#{not empty loadingFacet and loadingFacet.isRendered()}">

  
> rich:tree encode duplicate ids.
> -------------------------------
>
>                 Key: RF-10811
>                 URL: https://issues.jboss.org/browse/RF-10811
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>            Reporter: Gleb Galkin
>            Assignee: Nick Belaevski
>            Priority: Critical
>              Labels: resolve, tran
>             Fix For: 4.0.1.Milestone1
>
>
> rich:collapsibleSubTable should be checked also.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list