Author: mvitenkov
Date: 2008-08-06 03:33:54 -0400 (Wed, 06 Aug 2008)
New Revision: 9931
Modified:
trunk/test-applications/jsp/src/main/webapp/Validator/ValidatorStraightforward.jsp
Log:
Modified:
trunk/test-applications/jsp/src/main/webapp/Validator/ValidatorStraightforward.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/Validator/ValidatorStraightforward.jsp 2008-08-06
07:33:38 UTC (rev 9930)
+++
trunk/test-applications/jsp/src/main/webapp/Validator/ValidatorStraightforward.jsp 2008-08-06
07:33:54 UTC (rev 9931)
@@ -60,7 +60,7 @@
</a4j:region>
<br />
<a4j:region>
- <h:outputText value="Enter quantity of lines [data]" />
+ <h:outputText value="Enter quantity of lines [2-8]" />
<h:panelGroup>
<h:inputText value="#{data.length}"/>
<a4j:commandButton action="#{data.addNewItem}" value="ok"
@@ -70,9 +70,11 @@
<br/>
<a4j:region>
<h:panelGrid columns="2">
- <h:inputText value="enter some value" required="true"
id="beanValidatorInputID">
- <rich:beanValidator></rich:beanValidator>
+
+ <h:inputText value="#{validator.newValue}"
id="beanValidatorInputID">
+ <rich:beanValidator></rich:beanValidator>
</h:inputText>
+
<a4j:commandButton value="reRender" onclick="submit();"
reRender="beanValidatorInputID"></a4j:commandButton>
</h:panelGrid>
</a4j:region>