-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 4.1.0.Milestone3
-
Fix Version/s: 4.5.0.Beta2
-
Component/s: component
-
Labels:
-
Sprint:4.5.0.Beta2 - Sprint 3
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:
<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>
|
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.