Author: ppitonak(a)redhat.com
Date: 2010-12-07 08:04:34 -0500 (Tue, 07 Dec 2010)
New Revision: 20434
Added:
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/
Removed:
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTableToggleControl/
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichBean.java
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/components1.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/components2.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/list.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/simple.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/list.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/simple.xhtml
Log:
* refactoring because components rich:subTable and rich:subTableToggleControl were
renamed
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichBean.java 2010-12-07
13:02:18 UTC (rev 20433)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichBean.java 2010-12-07
13:04:34 UTC (rev 20434)
@@ -119,6 +119,8 @@
components.put("richAutocomplete", "Rich Autocomplete");
components.put("richCalendar", "Rich Calendar");
components.put("richCollapsiblePanel", "Rich Collapsible
Panel");
+ components.put("richCollapsibleSubTable", "Rich Collapsible
Subtable");
+ components.put("richCollapsibleSubTableToggler", "Rich Collapsible
Subtable Toggler");
components.put("richColumn", "Rich Column");
components.put("richColumnGroup", "Rich Column Group");
components.put("richComponentControl", "Rich Component
Control");
@@ -139,8 +141,6 @@
components.put("richPopupPanel", "Rich Popup Panel");
components.put("richProgressBar", "Rich Progress Bar");
components.put("richSelect", "Rich Select");
- components.put("richSubTable", "Rich Subtable");
- components.put("richSubTableToggleControl", "Rich Subtable Toggle
Control");
components.put("richTab", "Rich Tab");
components.put("richTabPanel", "Rich Tab Panel");
components.put("richToggleControl", "Rich Toggle Control");
Copied:
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable
(from rev 20425,
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable)
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/components1.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/components1.xhtml 2010-12-07
06:47:13 UTC (rev 20425)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/components1.xhtml 2010-12-07
13:04:34 UTC (rev 20434)
@@ -81,40 +81,40 @@
</rich:columnGroup>
</f:facet>
<rich:column id="columnTC" colspan="6">
- <rich:subTableToggleControl id="subTableTC"
for="richSubTable"/>
+ <rich:collapsibleSubTableToggler id="subTableTC"
for="richSubTable"/>
<h:outputText value="#{list[0].sex == 'MALE' ?
'Men' : 'Women'}" />
</rich:column>
- <rich:subTable id="richSubTable"
-
breakBefore="#{richSubTableBean.attributes['breakBefore'].value}"
-
expandMode="#{richSubTableBean.attributes['expandMode'].value}"
-
expanded="#{richSubTableBean.attributes['expanded'].value}"
-
filterVar="#{richSubTableBean.attributes['filterVar'].value}"
-
filteringListeners="#{richSubTableBean.attributes['filteringListeners'].value}"
-
first="#{richSubTableBean.attributes['first'].value}"
-
footer="#{richSubTableBean.attributes['footer'].value}"
-
header="#{richSubTableBean.attributes['header'].value}"
-
iterationState="#{richSubTableBean.attributes['iterationState'].value}"
-
iterationStatusVar="#{richSubTableBean.attributes['iterationStatusVar'].value}"
-
keepSaved="#{richSubTableBean.attributes['keepSaved'].value}"
-
noData="#{richSubTableBean.attributes['noData'].value}"
-
noDataLabel="#{richSubTableBean.attributes['noDataLabel'].value}"
-
relativeRowIndex="#{richSubTableBean.attributes['relativeRowIndex'].value}"
-
rendered="#{richSubTableBean.attributes['rendered'].value}"
-
rowAvailable="#{richSubTableBean.attributes['rowAvailable'].value}"
-
rowCount="#{richSubTableBean.attributes['rowCount'].value}"
-
rowData="#{richSubTableBean.attributes['rowData'].value}"
-
rowIndex="#{richSubTableBean.attributes['rowIndex'].value}"
-
rowKey="#{richSubTableBean.attributes['rowKey'].value}"
-
rowKeyConverter="#{richSubTableBean.attributes['rowKeyConverter'].value}"
-
rows="#{richSubTableBean.attributes['rows'].value}"
-
selection="#{richSubTableBean.attributes['selection'].value}"
-
sortExpression="#{richSubTableBean.attributes['sortExpression'].value}"
-
sortMode="#{richSubTableBean.attributes['sortMode'].value}"
-
sortPriority="#{richSubTableBean.attributes['sortPriority'].value}"
-
sortingListeners="#{richSubTableBean.attributes['sortingListeners'].value}"
-
toggleListeners="#{richSubTableBean.attributes['toggleListeners'].value}"
- value="#{list}"
- var="item">
+ <rich:collapsibleSubTable id="richSubTable"
+
breakBefore="#{richSubTableBean.attributes['breakBefore'].value}"
+
expandMode="#{richSubTableBean.attributes['expandMode'].value}"
+
expanded="#{richSubTableBean.attributes['expanded'].value}"
+
filterVar="#{richSubTableBean.attributes['filterVar'].value}"
+
filteringListeners="#{richSubTableBean.attributes['filteringListeners'].value}"
+
first="#{richSubTableBean.attributes['first'].value}"
+
footer="#{richSubTableBean.attributes['footer'].value}"
+
header="#{richSubTableBean.attributes['header'].value}"
+
iterationState="#{richSubTableBean.attributes['iterationState'].value}"
+
iterationStatusVar="#{richSubTableBean.attributes['iterationStatusVar'].value}"
+
keepSaved="#{richSubTableBean.attributes['keepSaved'].value}"
+
noData="#{richSubTableBean.attributes['noData'].value}"
+
noDataLabel="#{richSubTableBean.attributes['noDataLabel'].value}"
+
relativeRowIndex="#{richSubTableBean.attributes['relativeRowIndex'].value}"
+
rendered="#{richSubTableBean.attributes['rendered'].value}"
+
rowAvailable="#{richSubTableBean.attributes['rowAvailable'].value}"
+
rowCount="#{richSubTableBean.attributes['rowCount'].value}"
+
rowData="#{richSubTableBean.attributes['rowData'].value}"
+
rowIndex="#{richSubTableBean.attributes['rowIndex'].value}"
+
rowKey="#{richSubTableBean.attributes['rowKey'].value}"
+
rowKeyConverter="#{richSubTableBean.attributes['rowKeyConverter'].value}"
+
rows="#{richSubTableBean.attributes['rows'].value}"
+
selection="#{richSubTableBean.attributes['selection'].value}"
+
sortExpression="#{richSubTableBean.attributes['sortExpression'].value}"
+
sortMode="#{richSubTableBean.attributes['sortMode'].value}"
+
sortPriority="#{richSubTableBean.attributes['sortPriority'].value}"
+
sortingListeners="#{richSubTableBean.attributes['sortingListeners'].value}"
+
toggleListeners="#{richSubTableBean.attributes['toggleListeners'].value}"
+ value="#{list}"
+ var="item">
<rich:column id="columnSex">
<h:graphicImage id="sex" library="images"
name="#{item.sex == 'MALE' ? 'male.png' : 'female.png'}"
/>
</rich:column>
@@ -143,7 +143,7 @@
<f:facet name="footer">
<h:outputText value="Total of #{list[0].sex ==
'MALE' ? 'men' : 'women'}: #{fn:length(list)}" />
</f:facet>
- </rich:subTable>
+ </rich:collapsibleSubTable>
</rich:dataTable>
</ui:define>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/components2.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/components2.xhtml 2010-12-07
06:47:13 UTC (rev 20425)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/components2.xhtml 2010-12-07
13:04:34 UTC (rev 20434)
@@ -80,40 +80,40 @@
</rich:columnGroup>
</f:facet>
<rich:column id="columnTC" colspan="6">
- <rich:subTableToggleControl id="subTableTC"
for="richSubTable"/>
+ <rich:collapsibleSubTableToggler id="subTableTC"
for="richSubTable"/>
<h:outputText value="#{list[0].sex == 'MALE' ?
'Men' : 'Women'}" />
</rich:column>
- <rich:subTable id="richSubTable"
-
breakBefore="#{richSubTableBean.attributes['breakBefore'].value}"
-
expandMode="#{richSubTableBean.attributes['expandMode'].value}"
-
expanded="#{richSubTableBean.attributes['expanded'].value}"
-
filterVar="#{richSubTableBean.attributes['filterVar'].value}"
-
filteringListeners="#{richSubTableBean.attributes['filteringListeners'].value}"
-
first="#{richSubTableBean.attributes['first'].value}"
-
footer="#{richSubTableBean.attributes['footer'].value}"
-
header="#{richSubTableBean.attributes['header'].value}"
-
iterationState="#{richSubTableBean.attributes['iterationState'].value}"
-
iterationStatusVar="#{richSubTableBean.attributes['iterationStatusVar'].value}"
-
keepSaved="#{richSubTableBean.attributes['keepSaved'].value}"
-
noData="#{richSubTableBean.attributes['noData'].value}"
-
noDataLabel="#{richSubTableBean.attributes['noDataLabel'].value}"
-
relativeRowIndex="#{richSubTableBean.attributes['relativeRowIndex'].value}"
-
rendered="#{richSubTableBean.attributes['rendered'].value}"
-
rowAvailable="#{richSubTableBean.attributes['rowAvailable'].value}"
-
rowCount="#{richSubTableBean.attributes['rowCount'].value}"
-
rowData="#{richSubTableBean.attributes['rowData'].value}"
-
rowIndex="#{richSubTableBean.attributes['rowIndex'].value}"
-
rowKey="#{richSubTableBean.attributes['rowKey'].value}"
-
rowKeyConverter="#{richSubTableBean.attributes['rowKeyConverter'].value}"
-
rows="#{richSubTableBean.attributes['rows'].value}"
-
selection="#{richSubTableBean.attributes['selection'].value}"
-
sortExpression="#{richSubTableBean.attributes['sortExpression'].value}"
-
sortMode="#{richSubTableBean.attributes['sortMode'].value}"
-
sortPriority="#{richSubTableBean.attributes['sortPriority'].value}"
-
sortingListeners="#{richSubTableBean.attributes['sortingListeners'].value}"
-
toggleListeners="#{richSubTableBean.attributes['toggleListeners'].value}"
- value="#{list}"
- var="item">
+ <rich:collapsibleSubTable id="richSubTable"
+
breakBefore="#{richSubTableBean.attributes['breakBefore'].value}"
+
expandMode="#{richSubTableBean.attributes['expandMode'].value}"
+
expanded="#{richSubTableBean.attributes['expanded'].value}"
+
filterVar="#{richSubTableBean.attributes['filterVar'].value}"
+
filteringListeners="#{richSubTableBean.attributes['filteringListeners'].value}"
+
first="#{richSubTableBean.attributes['first'].value}"
+
footer="#{richSubTableBean.attributes['footer'].value}"
+
header="#{richSubTableBean.attributes['header'].value}"
+
iterationState="#{richSubTableBean.attributes['iterationState'].value}"
+
iterationStatusVar="#{richSubTableBean.attributes['iterationStatusVar'].value}"
+
keepSaved="#{richSubTableBean.attributes['keepSaved'].value}"
+
noData="#{richSubTableBean.attributes['noData'].value}"
+
noDataLabel="#{richSubTableBean.attributes['noDataLabel'].value}"
+
relativeRowIndex="#{richSubTableBean.attributes['relativeRowIndex'].value}"
+
rendered="#{richSubTableBean.attributes['rendered'].value}"
+
rowAvailable="#{richSubTableBean.attributes['rowAvailable'].value}"
+
rowCount="#{richSubTableBean.attributes['rowCount'].value}"
+
rowData="#{richSubTableBean.attributes['rowData'].value}"
+
rowIndex="#{richSubTableBean.attributes['rowIndex'].value}"
+
rowKey="#{richSubTableBean.attributes['rowKey'].value}"
+
rowKeyConverter="#{richSubTableBean.attributes['rowKeyConverter'].value}"
+
rows="#{richSubTableBean.attributes['rows'].value}"
+
selection="#{richSubTableBean.attributes['selection'].value}"
+
sortExpression="#{richSubTableBean.attributes['sortExpression'].value}"
+
sortMode="#{richSubTableBean.attributes['sortMode'].value}"
+
sortPriority="#{richSubTableBean.attributes['sortPriority'].value}"
+
sortingListeners="#{richSubTableBean.attributes['sortingListeners'].value}"
+
toggleListeners="#{richSubTableBean.attributes['toggleListeners'].value}"
+ value="#{list}"
+ var="item">
<rich:column id="columnSex">
<h:outputText value="#{item.sex}" />
</rich:column>
@@ -147,7 +147,7 @@
<f:facet name="footer">
<h:outputText value="Total of #{list[0].sex ==
'MALE' ? 'men' : 'women'}: #{fn:length(list)}" />
</f:facet>
- </rich:subTable>
+ </rich:collapsibleSubTable>
</rich:dataTable>
</ui:define>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/list.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/list.xhtml 2010-12-07
06:47:13 UTC (rev 20425)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/list.xhtml 2010-12-07
13:04:34 UTC (rev 20434)
@@ -27,21 +27,21 @@
<ui:composition template="/templates/list.xhtml">
- <ui:define name="pageTitle">Rich SubTable</ui:define>
+ <ui:define name="pageTitle">Rich Collapsible Sub
Table</ui:define>
<ui:define name="links">
<metamer:testPageLink id="simple" outcome="simple"
value="Simple">
- Page that contains a table with two <b>rich:subTable</b>s
with defined facets (header, footer, noData) and input boxes for all its attributes.
+ Page that contains a table with two
<b>rich:collapsibleSubTable</b>s with defined facets (header, footer, noData)
and input boxes for all its attributes.
</metamer:testPageLink>
<metamer:testPageLink id="components1"
outcome="components1" value="Various Components 1">
- Page that contains a table with two <b>rich:subTable</b>s
(with model containing employees) and input boxes for all its attributes.
+ Page that contains a table with two
<b>rich:collapsibleSubTable</b>s (with model containing employees) and input
boxes for all its attributes.
<span style="color: red">TODO will be used with various
types of input and command components as soon as available</span>
</metamer:testPageLink>
<metamer:testPageLink id="components2"
outcome="components2" value="Various Components 2">
- Page that contains a table with two <b>rich:subTable</b>s
(with model containing employees) and input boxes for all its attributes.
+ Page that contains a table with two
<b>rich:collapsibleSubTable</b>s (with model containing employees) and input
boxes for all its attributes.
<span style="color: red">TODO will be used with various
types of input and command components as soon as available</span>
</metamer:testPageLink>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/simple.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/simple.xhtml 2010-12-07
06:47:13 UTC (rev 20425)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/simple.xhtml 2010-12-07
13:04:34 UTC (rev 20434)
@@ -66,41 +66,41 @@
</f:facet>
<rich:column id="columnSubTable" colspan="3">
- <rich:subTableToggleControl id="subTableTC"
for="richSubTable"/>
+ <rich:collapsibleSubTableToggler id="subTableTC"
for="richSubTable"/>
<h:outputText value="#{list[0].sex == 'MALE' ?
'Men' : 'Women'}" />
</rich:column>
- <rich:subTable id="richSubTable"
-
breakBefore="#{richSubTableBean.attributes['breakBefore'].value}"
-
expandMode="#{richSubTableBean.attributes['expandMode'].value}"
-
expanded="#{richSubTableBean.attributes['expanded'].value}"
-
filterVar="#{richSubTableBean.attributes['filterVar'].value}"
-
filteringListeners="#{richSubTableBean.attributes['filteringListeners'].value}"
-
first="#{richSubTableBean.attributes['first'].value}"
-
footer="#{richSubTableBean.attributes['footer'].value}"
-
header="#{richSubTableBean.attributes['header'].value}"
-
iterationState="#{richSubTableBean.attributes['iterationState'].value}"
-
iterationStatusVar="#{richSubTableBean.attributes['iterationStatusVar'].value}"
-
keepSaved="#{richSubTableBean.attributes['keepSaved'].value}"
-
noData="#{richSubTableBean.attributes['noData'].value}"
-
noDataLabel="#{richSubTableBean.attributes['noDataLabel'].value}"
-
relativeRowIndex="#{richSubTableBean.attributes['relativeRowIndex'].value}"
-
rendered="#{richSubTableBean.attributes['rendered'].value}"
-
rowAvailable="#{richSubTableBean.attributes['rowAvailable'].value}"
-
rowCount="#{richSubTableBean.attributes['rowCount'].value}"
-
rowData="#{richSubTableBean.attributes['rowData'].value}"
-
rowIndex="#{richSubTableBean.attributes['rowIndex'].value}"
-
rowKey="#{richSubTableBean.attributes['rowKey'].value}"
-
rowKeyConverter="#{richSubTableBean.attributes['rowKeyConverter'].value}"
-
rows="#{richSubTableBean.attributes['rows'].value}"
-
selection="#{richSubTableBean.attributes['selection'].value}"
-
sortExpression="#{richSubTableBean.attributes['sortExpression'].value}"
-
sortMode="#{richSubTableBean.attributes['sortMode'].value}"
-
sortPriority="#{richSubTableBean.attributes['sortPriority'].value}"
-
sortingListeners="#{richSubTableBean.attributes['sortingListeners'].value}"
-
toggleListeners="#{richSubTableBean.attributes['toggleListeners'].value}"
- value="#{richSubTableBean.state ? list : null}"
- var="item">
+ <rich:collapsibleSubTable id="richSubTable"
+
breakBefore="#{richSubTableBean.attributes['breakBefore'].value}"
+
expandMode="#{richSubTableBean.attributes['expandMode'].value}"
+
expanded="#{richSubTableBean.attributes['expanded'].value}"
+
filterVar="#{richSubTableBean.attributes['filterVar'].value}"
+
filteringListeners="#{richSubTableBean.attributes['filteringListeners'].value}"
+
first="#{richSubTableBean.attributes['first'].value}"
+
footer="#{richSubTableBean.attributes['footer'].value}"
+
header="#{richSubTableBean.attributes['header'].value}"
+
iterationState="#{richSubTableBean.attributes['iterationState'].value}"
+
iterationStatusVar="#{richSubTableBean.attributes['iterationStatusVar'].value}"
+
keepSaved="#{richSubTableBean.attributes['keepSaved'].value}"
+
noData="#{richSubTableBean.attributes['noData'].value}"
+
noDataLabel="#{richSubTableBean.attributes['noDataLabel'].value}"
+
relativeRowIndex="#{richSubTableBean.attributes['relativeRowIndex'].value}"
+
rendered="#{richSubTableBean.attributes['rendered'].value}"
+
rowAvailable="#{richSubTableBean.attributes['rowAvailable'].value}"
+
rowCount="#{richSubTableBean.attributes['rowCount'].value}"
+
rowData="#{richSubTableBean.attributes['rowData'].value}"
+
rowIndex="#{richSubTableBean.attributes['rowIndex'].value}"
+
rowKey="#{richSubTableBean.attributes['rowKey'].value}"
+
rowKeyConverter="#{richSubTableBean.attributes['rowKeyConverter'].value}"
+
rows="#{richSubTableBean.attributes['rows'].value}"
+
selection="#{richSubTableBean.attributes['selection'].value}"
+
sortExpression="#{richSubTableBean.attributes['sortExpression'].value}"
+
sortMode="#{richSubTableBean.attributes['sortMode'].value}"
+
sortPriority="#{richSubTableBean.attributes['sortPriority'].value}"
+
sortingListeners="#{richSubTableBean.attributes['sortingListeners'].value}"
+
toggleListeners="#{richSubTableBean.attributes['toggleListeners'].value}"
+ value="#{richSubTableBean.state ? list :
null}"
+ var="item">
<f:facet name="header">
header facet
@@ -126,7 +126,7 @@
footer facet
</f:facet>
- </rich:subTable>
+ </rich:collapsibleSubTable>
</rich:dataTable>
</ui:define>
Copied:
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler
(from rev 20425,
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTableToggleControl)
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/list.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTableToggleControl/list.xhtml 2010-12-07
06:47:13 UTC (rev 20425)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/list.xhtml 2010-12-07
13:04:34 UTC (rev 20434)
@@ -27,12 +27,12 @@
<ui:composition template="/templates/list.xhtml">
- <ui:define name="pageTitle">Rich Subtable Toggle
Control</ui:define>
+ <ui:define name="pageTitle">Rich Sub Table
Toggler</ui:define>
<ui:define name="links">
<metamer:testPageLink id="simple" outcome="simple"
value="Simple">
- Page that contains a table with two subtables and input boxes for all
<b>rich:subTableToggleControl</b>s' attributes.
+ Page that contains a table with two subtables and input boxes for all
<b>rich:collapsibleSubTableToggler</b>s' attributes.
</metamer:testPageLink>
</ui:define>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/simple.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTableToggleControl/simple.xhtml 2010-12-07
06:47:13 UTC (rev 20425)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/simple.xhtml 2010-12-07
13:04:34 UTC (rev 20434)
@@ -66,23 +66,23 @@
</f:facet>
<rich:column id="columnTC" colspan="3">
- <rich:subTableToggleControl id="richSTTControl"
-
collapseIcon="#{richSubTableToggleControlBean.attributes['collapseIcon'].value}"
-
collapseLabel="#{richSubTableToggleControlBean.attributes['collapseLabel'].value}"
-
event="#{richSubTableToggleControlBean.attributes['event'].value}"
-
expandIcon="#{richSubTableToggleControlBean.attributes['expandIcon'].value}"
-
expandLabel="#{richSubTableToggleControlBean.attributes['expandLabel'].value}"
-
rendered="#{richSubTableToggleControlBean.attributes['rendered'].value}"
- for="richSubTable"/>
+ <rich:collapsibleSubTableToggler id="richSTTControl"
+
collapseIcon="#{richSubTableToggleControlBean.attributes['collapseIcon'].value}"
+
collapseLabel="#{richSubTableToggleControlBean.attributes['collapseLabel'].value}"
+
event="#{richSubTableToggleControlBean.attributes['event'].value}"
+
expandIcon="#{richSubTableToggleControlBean.attributes['expandIcon'].value}"
+
expandLabel="#{richSubTableToggleControlBean.attributes['expandLabel'].value}"
+
rendered="#{richSubTableToggleControlBean.attributes['rendered'].value}"
+ for="richSubTable"/>
<h:outputText value="#{list[0].sex == 'MALE' ?
'Men' : 'Women'}" />
</rich:column>
- <rich:subTable id="richSubTable"
- expandMode="client"
- expanded="true"
- rows="5"
- value="#{richSubTableToggleControlBean.state ? list :
null}"
- var="item">
+ <rich:collapsibleSubTable id="richSubTable"
+ expandMode="client"
+ expanded="true"
+ rows="5"
+
value="#{richSubTableToggleControlBean.state ? list : null}"
+ var="item">
<f:facet name="header">
header facet
@@ -108,7 +108,7 @@
footer facet
</f:facet>
- </rich:subTable>
+ </rich:collapsibleSubTable>
</rich:dataTable>
</ui:define>