Author: mvitenkov
Date: 2008-07-17 10:02:58 -0400 (Thu, 17 Jul 2008)
New Revision: 9657
Modified:
trunk/test-applications/facelets/src/main/webapp/Validator/Validator.xhtml
Log:
Modified: trunk/test-applications/facelets/src/main/webapp/Validator/Validator.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Validator/Validator.xhtml 2008-07-17
14:01:56 UTC (rev 9656)
+++ trunk/test-applications/facelets/src/main/webapp/Validator/Validator.xhtml 2008-07-17
14:02:58 UTC (rev 9657)
@@ -105,7 +105,7 @@
</h:selectBooleanCheckbox>
<rich:message for="assertTrue" showDetail="true"
showSummary="true" />
</h:panelGroup>
-
+
<h:outputLabel for="eanValue" value="EAN validation:" />
<h:panelGroup>
<h:inputText value="#{validator.ean}" id="eanValue">
@@ -131,6 +131,22 @@
<rich:message for="sizeValues" showDetail="true"
showSummary="true" />
</h:panelGroup>
+ <h:outputLabel for="digit" value="Digits validation:(x.xxx)"
/>
+ <h:panelGroup>
+ <h:inputText value="#{validator.digit}" id="digit">
+ <rich:ajaxValidator event="onchange"></rich:ajaxValidator>
+ </h:inputText>
+ <rich:message for="digit" showDetail="true"
showSummary="true" />
+ </h:panelGroup>
+
+ <h:outputLabel for="range" value="Range validation(0-15):"
/>
+ <h:panelGroup>
+ <h:inputText value="#{validator.rangeValue}" id="range">
+ <rich:ajaxValidator event="onchange"></rich:ajaxValidator>
+ </h:inputText>
+ <rich:message for="range" showDetail="true"
showSummary="true" />
+ </h:panelGroup>
+
<h:outputText value="total length should be less than 50" />
<a4j:commandButton value="validate all fields"
reRender="panelGridID"></a4j:commandButton>
Show replies by date