You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2007/05/03 11:23:52 UTC
svn commit: r534760 -
/myfaces/tobago/trunk/example/demo/src/main/webapp/overview/validation.jsp
Author: lofwyr
Date: Thu May 3 02:23:52 2007
New Revision: 534760
URL: http://svn.apache.org/viewvc?view=rev&rev=534760
Log:
add markup="number" to number input fields
Modified:
myfaces/tobago/trunk/example/demo/src/main/webapp/overview/validation.jsp
Modified: myfaces/tobago/trunk/example/demo/src/main/webapp/overview/validation.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/demo/src/main/webapp/overview/validation.jsp?view=diff&rev=534760&r1=534759&r2=534760
==============================================================================
--- myfaces/tobago/trunk/example/demo/src/main/webapp/overview/validation.jsp (original)
+++ myfaces/tobago/trunk/example/demo/src/main/webapp/overview/validation.jsp Thu May 3 02:23:52 2007
@@ -37,12 +37,11 @@
<f:facet name="layout">
<tc:gridLayout columns="1*;1*" />
</f:facet>
- <tx:in label="#{overviewBundle.validation_number}"
- required="true">
+ <tx:in label="#{overviewBundle.validation_number}" markup="number" required="true">
<f:validateLength minimum="7" maximum="7" />
<f:validateLongRange />
</tx:in>
- <tx:in label="#{overviewBundle.validation_price}">
+ <tx:in label="#{overviewBundle.validation_price}" markup="number">
<f:validateDoubleRange minimum="0.01" maximum="1000" />
</tx:in>
<tx:in label="#{overviewBundle.validation_custom}" validator="#{overviewController.customValidator}" >