[richfaces-issues] [JBoss JIRA] (RF-11656) Nested collapsibleSubTable always expanded

Jesper Vrelits (Commented) (JIRA) jira-events at lists.jboss.org
Mon Dec 5 04:07:41 EST 2011


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

Jesper Vrelits commented on RF-11656:
-------------------------------------

This issue and RF-11742 is a major show stopper for me, so I really hope that it would be possible to look at it BEFORE 4.2, as that seems pretty far into the future.
                
> Nested collapsibleSubTable always expanded
> ------------------------------------------
>
>                 Key: RF-11656
>                 URL: https://issues.jboss.org/browse/RF-11656
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component
>    Affects Versions: 4.1.0.Milestone3
>            Reporter: Jesper Vrelits
>            Assignee: Brian Leathem
>             Fix For: 4.2.0.Tracking
>
>
> When I use nested collapsibleSubTable the nested collapsibleSubTable is always expanded.
> Even if I put expended="#{false}" it is also expanded.
> My facelet looks like this:
> {code}
>  <rich:collapsibleSubTable value="#{logicalInstanceListController.getGroups(environment.entry)}" var="group"
>                                           id="envtoggle" expandMode="ajax" expanded="#{environment.expanded}">
>          <rich:column>
>               <f:facet name="header">
>                    <h:outputText value="#{dps_msgs['instancegroup']}"/>
>               </f:facet>
>              <h:outputText style="margin-left: 15px" value="#{group.entry.name}"/>
>              <rich:collapsibleSubTableToggler for="logicaltoggle"/>
>          </rich:column>
>          <rich:column>
>              <f:facet name="header">
>                  <h:outputText value="#{dps_msgs['description']}"/>
>              </f:facet>
>              <h:outputText value="#{group.entry.description}"/>
>          </rich:column>
>          <rich:collapsibleSubTable value="#{logicalInstanceListController.getLogicalInstances(group)}"
>                                          var="logicalinstance" id="logicaltoggle" expandMode="ajax"
>                                               expanded="#{group.expanded}">
>               <rich:column>
>                   <h:outputText style="margin-left: 30px" value="#{logicalinstance.name}"/>
>               </rich:column>
>               <rich:column>
>                  <h:outputText value="#{logicalinstance.description}"/>
>              </rich:column>
>         </rich:collapsibleSubTable>
>    </rich:collapsibleSubTable>
> {code}
> Group.expanded seems to be updated correctly, so it seems the Renderer does not use this. A guess is that it uses the parent collapsibleSubTable expanded value, because they seem synchronized. My guess it the Renderer code does not work with nested collapsible sub tables.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list