Author: nbelaevski
Date: 2008-08-08 15:11:32 -0400 (Fri, 08 Aug 2008)
New Revision: 9998
Modified:
trunk/test-applications/jsp/src/main/webapp/Validator/Validator.jsp
Log:
Validator page corrected
Modified: trunk/test-applications/jsp/src/main/webapp/Validator/Validator.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Validator/Validator.jsp 2008-08-08
18:41:50 UTC (rev 9997)
+++ trunk/test-applications/jsp/src/main/webapp/Validator/Validator.jsp 2008-08-08
19:11:32 UTC (rev 9998)
@@ -19,7 +19,7 @@
<rich:graphValidator value="#{data}"
binding="#{data.graphValidatorComponent}" id="graphValidatorID"
rendered="#{data.rendered}">
- <rich:dataTable value="#{data.beans}" var="bean"
id="table">
+ <rich:dataTable value="#{data.beans}" var="dataBean"
id="table">
<f:facet name="header">
<h:outputText
value="Validate values in the data table. Total sum for an all integer values
validated for a value less then 20" />
@@ -29,8 +29,8 @@
<f:facet name="header">
<h:outputText value="text field" />
</f:facet>
- <h:outputLabel for="text" value="#{bean.textDescription}"
/>
- <h:inputText id="text" value="#{bean.text}">
+ <h:outputLabel for="text" value="#{dataBean.textDescription}"
/>
+ <h:inputText id="text" value="#{dataBean.text}">
<rich:ajaxValidator event="onchange" />
</h:inputText>
</h:column>
@@ -38,8 +38,8 @@
<f:facet name="header">
<h:outputText value="integer field" />
</f:facet>
- <h:outputLabel for="intValue" value="#{bean.intDescription}"
/>
- <h:inputText id="intValue" value="#{bean.intValue}">
+ <h:outputLabel for="intValue"
value="#{dataBean.intDescription}" />
+ <h:inputText id="intValue" value="#{dataBean.intValue}">
<rich:ajaxValidator event="onchange" />
</h:inputText>
<rich:message for="intValue" showDetail="true"
showSummary="true" />