Author: nbelaevski
Date: 2008-08-08 15:13:42 -0400 (Fri, 08 Aug 2008)
New Revision: 9999
Modified:
trunk/test-applications/jsp/src/main/webapp/Validator/ValidatorStraightforward.jsp
Log:
Validator page corrected
Modified:
trunk/test-applications/jsp/src/main/webapp/Validator/ValidatorStraightforward.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/Validator/ValidatorStraightforward.jsp 2008-08-08
19:11:32 UTC (rev 9998)
+++
trunk/test-applications/jsp/src/main/webapp/Validator/ValidatorStraightforward.jsp 2008-08-08
19:13:42 UTC (rev 9999)
@@ -4,7 +4,7 @@
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview id="validatorStraightforwardSubviewID">
<a4j:region>
- <rich:dataTable value="#{data.data}" var="data"
id="SizeValidationID">
+ <rich:dataTable value="#{data.data}" var="dataBean"
id="SizeValidationID">
showSummary="true" />
<rich:column>
<f:facet name="header">
@@ -20,7 +20,7 @@
<f:facet name="header">
<h:outputText value="#4" />
</f:facet>
- <h:outputText value="#{data.int2}"></h:outputText>
+ <h:outputText value="#{dataBean.int2}"></h:outputText>
<f:facet name="footer">
<h:outputText value="#4" />
</f:facet>
@@ -30,7 +30,7 @@
<f:facet name="header">
<h:outputText value="#5" />
</f:facet>
- <h:outputText value="#{data.str1}"></h:outputText>
+ <h:outputText value="#{dataBean.str1}"></h:outputText>
<f:facet name="footer">
<h:outputText value="#5" />
</f:facet>
@@ -40,8 +40,8 @@
<f:facet name="header">
<h:outputText value="#7" />
</f:facet>
- <h:graphicImage value="#{data.str2}"></h:graphicImage>
- <h:outputText value="#{data.str2}"></h:outputText>
+ <h:graphicImage value="#{dataBean.str2}"></h:graphicImage>
+ <h:outputText value="#{dataBean.str2}"></h:outputText>
<f:facet name="footer">
<h:outputText value="#7" />
</f:facet>
@@ -51,7 +51,7 @@
<f:facet name="header">
<h:outputText value="#9" />
</f:facet>
- <h:selectBooleanCheckbox
value="#{data.bool0}"></h:selectBooleanCheckbox>
+ <h:selectBooleanCheckbox
value="#{dataBean.bool0}"></h:selectBooleanCheckbox>
<f:facet name="footer">
<h:outputText value="#9" />
</f:facet>
@@ -62,8 +62,8 @@
<a4j:region>
<h:outputText value="Enter quantity of lines [2-8]" />
<h:panelGroup>
- <h:inputText value="#{data.length}"/>
- <a4j:commandButton action="#{data.addNewItem}" value="ok"
+ <h:inputText value="#{dataBean.length}"/>
+ <a4j:commandButton action="#{dataBean.addNewItem}" value="ok"
reRender="SizeValidationID"></a4j:commandButton>
</h:panelGroup>
</a4j:region>