You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by ma...@apache.org on 2005/03/23 06:19:38 UTC
svn commit: r158730 -
struts/core/branches/STRUTS_1_2_BRANCH/conf/share/validator-rules.xml
Author: martinc
Date: Tue Mar 22 21:19:37 2005
New Revision: 158730
URL: http://svn.apache.org/viewcvs?view=rev&rev=158730
Log:
Port the fix for Bugzilla #27089 to the 1.2.X branch.
Modified:
struts/core/branches/STRUTS_1_2_BRANCH/conf/share/validator-rules.xml
Modified: struts/core/branches/STRUTS_1_2_BRANCH/conf/share/validator-rules.xml
URL: http://svn.apache.org/viewcvs/struts/core/branches/STRUTS_1_2_BRANCH/conf/share/validator-rules.xml?view=diff&r1=158729&r2=158730
==============================================================================
--- struts/core/branches/STRUTS_1_2_BRANCH/conf/share/validator-rules.xml (original)
+++ struts/core/branches/STRUTS_1_2_BRANCH/conf/share/validator-rules.xml Tue Mar 22 21:19:37 2005
@@ -233,6 +233,17 @@
depends="float"
msg="errors.range"/>
+ <validator name="doubleRange"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateDoubleRange"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionMessages,
+ javax.servlet.http.HttpServletRequest"
+ depends="double"
+ msg="errors.range"/>
+
<validator name="creditCard"
classname="org.apache.struts.validator.FieldChecks"
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org