Author: lfryc(a)redhat.com
Date: 2010-11-17 05:17:18 -0500 (Wed, 17 Nov 2010)
New Revision: 20067
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/components1.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/components2.xhtml
Log:
fixed the wrong EL (can't parse #{list.size()} - used #{fn:length(list)}
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/components1.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/components1.xhtml 2010-11-17
09:35:08 UTC (rev 20066)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/components1.xhtml 2010-11-17
10:17:18 UTC (rev 20067)
@@ -2,7 +2,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:metamer="http://java.sun.com/jsf/composite/metamer"
-
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j">
+
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:fn="http://java.sun.com/jsp/jstl/functions">
<!--
JBoss, Home of Professional Open Source
@@ -141,7 +141,7 @@
</rich:inputNumberSpinner>
</rich:column>
<f:facet name="footer">
- <h:outputText value="Total of #{list[0].sex ==
'MALE' ? 'men' : 'women'}: #{list.size()}" />
+ <h:outputText value="Total of #{list[0].sex ==
'MALE' ? 'men' : 'women'}: #{fn:length(list)}" />
</f:facet>
</rich:subTable>
</rich:dataTable>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/components2.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/components2.xhtml 2010-11-17
09:35:08 UTC (rev 20066)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/components2.xhtml 2010-11-17
10:17:18 UTC (rev 20067)
@@ -2,7 +2,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:metamer="http://java.sun.com/jsf/composite/metamer"
-
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j">
+
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:fn="http://java.sun.com/jsp/jstl/functions">
<!--
JBoss, Home of Professional Open Source
@@ -145,7 +145,7 @@
</rich:inputNumberSlider>
</rich:column>
<f:facet name="footer">
- <h:outputText value="Total of #{list[0].sex ==
'MALE' ? 'men' : 'women'}: #{list.size()}" />
+ <h:outputText value="Total of #{list[0].sex ==
'MALE' ? 'men' : 'women'}: #{fn:length(list)}" />
</f:facet>
</rich:subTable>
</rich:dataTable>