You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by rl...@apache.org on 2002/12/07 23:26:19 UTC

cvs commit: jakarta-struts/conf/share validator-rules.xml

rleland     2002/12/07 14:26:19

  Modified:    conf/share validator-rules.xml
  Log:
  Bug 15070 Reported by danny@muibros.com (Danny Mui)
  Who tenaciously reopened bug report after I had marked it 'worksforme'
  
  -Thanks Danny !!!
  
  When deprecating field type 'range' which
  calls js validateRange()  this function was in turn was calling
  validIntRnage instead of validateIntRange.
  
  Revision  Changes    Path
  1.15      +2 -2      jakarta-struts/conf/share/validator-rules.xml
  
  Index: validator-rules.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/conf/share/validator-rules.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- validator-rules.xml	14 Nov 2002 19:25:55 -0000	1.14
  +++ validator-rules.xml	7 Dec 2002 22:26:19 -0000	1.15
  @@ -600,7 +600,7 @@
   
         </validator>
   
  -<!-- range is deprecated use rangeInt instead -->
  +<!-- range is deprecated use intRange instead -->
         <validator name="range"
               classname="org.apache.struts.validator.FieldChecks"
                  method="validateIntRange"
  @@ -614,7 +614,7 @@
   
            <javascript><![CDATA[
               function validateRange(form) {
  -                return validIntRange(form);
  +                return validateIntRange(form);
               }]]>
            </javascript>
   
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>