[richfaces-issues] [JBoss JIRA] (RF-11656) Nested collapsibleSubTable always expanded
Jesper Vrelits (Created) (JIRA)
jira-events at lists.jboss.org
Tue Nov 8 05:54:45 EST 2011
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
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