commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rlel...@apache.org
Subject cvs commit: jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript validateByte.js validateCreditCard.js validateDate.js validateEmail.js validateFloat.js validateFloatRange.js validateIntRange.js validateInteger.js validateMask.js validateMaxLength.js validateMinLength.js validateRequired.js validateShort.js
Date Wed, 22 Oct 2003 07:20:58 GMT
rleland     2003/10/22 00:20:58

  Modified:    validator/src/javascript/org/apache/commons/validator/javascript
                        validateByte.js validateCreditCard.js
                        validateDate.js validateEmail.js validateFloat.js
                        validateFloatRange.js validateIntRange.js
                        validateInteger.js validateMask.js
                        validateMaxLength.js validateMinLength.js
                        validateRequired.js validateShort.js
  Log:
  Bug 23972
  Non printing characters were coming from buffer not
  being read completely.
  
  This uncovered a pending issue that needs a new bug ticket opened
  and that is the case of the javascript names, both
  the file name and the JS name.
  Any DoubleCamel validatots will not be found if
  it's name in the struts validator-rules.xml
  isn't also properly cased.
  So: intRange/creditCard is found since it's name
  properly doubled cased.
  However, minlength, maxlength is not found.
  More details will follow in the new Bug Report.
  
  Revision  Changes    Path
  1.3       +3 -3      jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateByte.js
  
  Index: validateByte.js
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateByte.js,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- validateByte.js	15 Aug 2003 20:20:40 -0000	1.2
  +++ validateByte.js	22 Oct 2003 07:20:57 -0000	1.3
  @@ -1,7 +1,7 @@
  +
     //$Header$
     //$Revision$
     //$Date$
  -
   
       function validateByte(form) {
           var bValid = true;
  
  
  
  1.3       +4 -4      jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateCreditCard.js
  
  Index: validateCreditCard.js
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateCreditCard.js,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- validateCreditCard.js	15 Aug 2003 20:20:40 -0000	1.2
  +++ validateCreditCard.js	22 Oct 2003 07:20:57 -0000	1.3
  @@ -1,8 +1,8 @@
  +
     //$Header$
     //$Revision$
     //$Date$
   
  -
       function validateCreditCard(form) {
           var bValid = true;
           var focusField = null;
  @@ -63,4 +63,4 @@
               }
           }
           return true;
  -    }
  +    }
  \ No newline at end of file
  
  
  
  1.4       +5 -4      jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateDate.js
  
  Index: validateDate.js
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateDate.js,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- validateDate.js	26 Sep 2003 17:03:22 -0000	1.3
  +++ validateDate.js	22 Oct 2003 07:20:57 -0000	1.4
  @@ -1,3 +1,4 @@
  +
     //$Header$
     //$Revision$
     //$Date$
  @@ -128,7 +129,7 @@
          }
          return bValid;
       }
  -
  +    
       function isValidDate(day, month, year) {
   	    if (month < 1 || month > 12) {
               return false;
  
  
  
  1.3       +4 -3      jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateEmail.js
  
  Index: validateEmail.js
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateEmail.js,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- validateEmail.js	15 Aug 2003 20:20:40 -0000	1.2
  +++ validateEmail.js	22 Oct 2003 07:20:57 -0000	1.3
  @@ -1,3 +1,4 @@
  +
     //$Header$
     //$Revision$
     //$Date$
  
  
  
  1.5       +3 -3      jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateFloat.js
  
  Index: validateFloat.js
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateFloat.js,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- validateFloat.js	22 Oct 2003 04:18:42 -0000	1.4
  +++ validateFloat.js	22 Oct 2003 07:20:57 -0000	1.5
  @@ -1,7 +1,7 @@
  +
     //$Header$
     //$Revision$
     //$Date$
  -
   
       function validateFloat(form) {
           var bValid = true;
  
  
  
  1.3       +5 -5      jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateFloatRange.js
  
  Index: validateFloatRange.js
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateFloatRange.js,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- validateFloatRange.js	15 Aug 2003 20:20:40 -0000	1.2
  +++ validateFloatRange.js	22 Oct 2003 07:20:57 -0000	1.3
  @@ -1,8 +1,8 @@
  +  
     //$Header$
     //$Revision$
     //$Date$
   
  -
       function validateFloatRange(form) {
           var isValid = true;
           var focusField = null;
  @@ -33,4 +33,4 @@
               alert(fields.join('\n'));
           }
           return isValid;
  -    }
  +    }
  \ No newline at end of file
  
  
  
  1.4       +3 -3      jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateIntRange.js
  
  Index: validateIntRange.js
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateIntRange.js,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- validateIntRange.js	15 Aug 2003 20:22:03 -0000	1.3
  +++ validateIntRange.js	22 Oct 2003 07:20:57 -0000	1.4
  @@ -1,7 +1,7 @@
  +
     //$Header$
     //$Revision$
     //$Date$
  -
   
       function validateIntRange(form) {
           var isValid = true;
  
  
  
  1.3       +4 -4      jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateInteger.js
  
  Index: validateInteger.js
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateInteger.js,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- validateInteger.js	15 Aug 2003 20:20:40 -0000	1.2
  +++ validateInteger.js	22 Oct 2003 07:20:57 -0000	1.3
  @@ -1,7 +1,7 @@
  -  //$Header$
  + 
  + //$Header$
     //$Revision$
     //$Date$
  -
   
       function validateInteger(form) {
           var bValid = true;
  
  
  
  1.3       +3 -3      jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateMask.js
  
  Index: validateMask.js
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateMask.js,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- validateMask.js	15 Aug 2003 20:22:03 -0000	1.2
  +++ validateMask.js	22 Oct 2003 07:20:57 -0000	1.3
  @@ -1,7 +1,7 @@
  +
     //$Header$
     //$Revision$
     //$Date$
  -
   
       function validateMask(form) {
           var isValid = true;
  
  
  
  1.4       +3 -3      jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateMaxLength.js
  
  Index: validateMaxLength.js
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateMaxLength.js,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- validateMaxLength.js	7 Oct 2003 03:00:15 -0000	1.3
  +++ validateMaxLength.js	22 Oct 2003 07:20:57 -0000	1.4
  @@ -1,7 +1,7 @@
  +
     //$Header$
     //$Revision$
     //$Date$
  -
   
       function validateMaxLength(form) {
           var isValid = true;
  
  
  
  1.5       +3 -3      jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateMinLength.js
  
  Index: validateMinLength.js
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateMinLength.js,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- validateMinLength.js	7 Oct 2003 03:00:15 -0000	1.4
  +++ validateMinLength.js	22 Oct 2003 07:20:57 -0000	1.5
  @@ -1,7 +1,7 @@
  +
     //$Header$
     //$Revision$
     //$Date$
  -
   
       function validateMinLength(form) {
           var isValid = true;
  
  
  
  1.6       +5 -1      jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateRequired.js
  
  Index: validateRequired.js
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateRequired.js,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- validateRequired.js	24 Sep 2003 03:44:10 -0000	1.5
  +++ validateRequired.js	22 Oct 2003 07:20:57 -0000	1.6
  @@ -1,4 +1,8 @@
   
  +  //$Header$
  +  //$Revision$
  +  //$Date$
  +
       function validateRequired(form) {
           var isValid = true;
           var focusField = null;
  @@ -78,4 +82,4 @@
       // Trim whitespace from left and right sides of s.
       function trim(s) {
           return s.replace( /^\s*/, "" ).replace( /\s*$/, "" );
  -    }
  +    }
  \ No newline at end of file
  
  
  
  1.3       +3 -3      jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateShort.js
  
  Index: validateShort.js
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateShort.js,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- validateShort.js	15 Aug 2003 20:22:03 -0000	1.2
  +++ validateShort.js	22 Oct 2003 07:20:57 -0000	1.3
  @@ -1,7 +1,7 @@
  +
     //$Header$
     //$Revision$
     //$Date$
  -
   
       function validateShort(form) {
           var bValid = true;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message