Release History

VersionDateDescription
1.2.0 2005-11-15
1.1.4 2004-11-12
1.1.3 2004-08-25
1.1.2 (alpha) 2004-04-03
1.1.1 (alpha) 2003-12-15
1.1.0 (alpha) 2003-08-26

Get the RSS feed of the last changes

Release 1.2.0 - 2005-11-15

TypeChangesBy
add Added ISBNValidator for validating book numbers. PR# 31489 dgraham
update Upgrade dependency versions to Commons BeanUtils1.7.0, Commons Digester1.6 and Commons Logging1.0.4. Remove dependency on Commons Collections(Bea nUtils 1.7.0 has removed its dependency on Collections by including the few Collections classes required in its distribution). dgraham
add Add support for min or max numeric values. PR# 29015 husted
add Allow validators to register errors for multiple fields. PR# 29151 husted
fix Fixed EmailValidator failing on valid email addresses. PR# 23990 husted
add Allow forms to inherit validation rules from other forms. PR# 27870 rleland
add Remove the need to specify an Arguement's position. PR# 31194 niallp
add Deprecated all FastHashMap usage and provided protected get methods that return generic Maps to be used by subclasses. (fixes PR# 29815Request public methods to access constants in ValidatorResources.) dgraham
fix Handling of float and double should use the locale object. PR# 34198and PR# 21282 mrdon
update More informative Exception message when validation method not found. PR# 27471 mrdon
fix Client-side required validation inconsistent with server-side. PR# 15912 mrdon
fix EmailValidator allows apostrophes in domain name. PR# 29541 mrdon
fix Changing the strategy for locating form name/id, now use a common utility function which works in both IE and Firefox. PR# 35127and PR# 32760 mrdon
fix Validation fails when "name" attribute in form not specified. PR# 35294and PR# 31534 mrdon
fix UrlValidator fails http://www.google.com. PR# 30686 mrdon
fix Email: inexisting dashes and TLD erroneously accepted. PR# 33409and PR# 31644 mrdon
fix Float validator can't validate the string with several dot. PR# 32351 mrdon
fix CreditValidator does not handle Visa correctly. PR# 35926 mrdon
fix datePattern not supported by JavaScript. PR# 22384 mrdon
fix validateRequired on a single radio button. PR# 33047 mrdon
fix Field.validate() cannot be invoked from user-defined code. PR# 35508 mrdon
fix Locale validation doesn't validate all fields. PR# 30955and PR# 16920 mrdon
fix XML file included into validation.xml via entity reference not found. PR# 27258 mrdon
fix Update maven build to Include DTDs and xdocs in the source distribution. PR# 31094 niallp
fix Remove logging of exceptions when the Date validation fails (correctly) with an invalid date. niallp
fix Add version 1.1.3 of the DTD from the VALIDATOR_1_1_2_BRANCH and change digester rules so that the old arg0-arg3 values are not ignored for versions of the DTD prior to 1.2.0. niallp
add Add 'resource' and 'bundle' elements to the 1.2.0 DTD. PR# 32522 niallp
add Provide access to the result object in ValidatorResult. PR# 27671 niallp
fix Validation breaks on multiple validation.xml (eg. with Struts 1.3). PR# 36899 niallp
fix GenericTypeValidator does not accept negative Floats/Doubles. PR# 36878 niallp
fix correct UrlValidator JavaDoc. PR# 37192 niallp
add Search the locale 'hierarchy' of formsets for a Form. PR# 37310 niallp
fix Int validation in Java and Javascript have different semantics. PR# 37300 niallp
fix Javascript Validation currently uses unsupported DOM method getAttributeNode(). PR# 37315 niallp

Release 1.1.4 - 2004-11-12

TypeChangesBy
add Added getMessage(key) and getMessages() methods to Field (PR# 29452) niallp
add Added resource property (including getter/setter) to Msg to support the 'resource' attribute specified in the DTD. niallp

Release 1.1.3 - 2004-08-25

TypeChangesBy
fix Fixed javascript file reading in Java WebStart environment. PR# 2 8257 dgraham
fix Fixed javascript email domain length limited to 2 or 3 chars. PR# 29532 mrdon

Release 1.1.2 (alpha) - 2004-04-03

TypeChangesBy
fix Javascript validation doesn't work if a form field is called "name". PR# 27899 rleland
update Allow multiple forms to be on the same page by generating a unique variable name based on form name. PR# 17667 rleland
add Validate file extensions for file uploads. PR# 26585 rleland
add Add Support for hidden fields in javascript validations. PR# 26584 rleland
update The framework will convert checked exceptions into ValidatorExceptions so any ValidatorException thrown out of the framework indicates a 'system' exception that stops validation processing. If a pluggable validation method throws a ValidatorException it will be rethrown and passed out of the framework. Any other exception from a pluggable validation method is still considered a validation failure rather than a system exception to maintain backwards compatibility. PR# 24369 dgraham
add Added a more flexible card validation system that doesn't require CreditCardValidator to support every brand of credit card. PR# 25869 dgraham
update Throw RuntimeException if clone fails instead of InternalError. dgraham
add Added Flags.clear(). dgraham

Release 1.1.1 (alpha) - 2003-12-15

TypeChangesBy
add Add javadoc to javascript, and use jsdocto process it. rleland
fix Ignore validation criteria when field is disabled for all field types. rleland
add Add required check for single checkbox. rleland
add Let max/min length also cover passwords fields. Don't use these for checking login pages, only when the user is modifying the password. rleland
add Added Field.getArgs(String) to make it easier to retrieve all of the Args for a given validator. dgraham
fix Modify javascript to honor datapattern option. rleland
add Add ability of required to handle checkboxes, radio, select-one, and select-multiple field types. rleland
add Add ability to use required condition on array types like checkboxes. rleland

Release 1.1.0 (alpha) - 2003-08-26

TypeChangesBy
update Move Digester rule configuration to XML file and remove ValidatorResourcesInitializer. ValidatorResources now knows how to initialize itself. dgraham
update Clean up scopes of methods and variables. dgraham
update Make Arg system more flexible to allow any number of args in a message. dgraham
update Validate validation.xml files while initializing a Validator to alert deve lopers to configuration errors. dgraham
add Refactored GenericValidatormethods into reusable objects. These include: CreditCardValidator, EmailValidator, DateValidator, and UrlValidator. dgraham
update

Backwards Incompatible Changes

  • < msg > 's name and key attributes are now required. The Validator code was enforcing this constraint so now it's formally defined in the DTD.
dgraham
remove

Deprecated items; see the javadoc for details and replacements.

  • The < arg0-3 > elements have been replaced with a single < arg > element with a new positionattribute. Setting position to 0 is the equivalent of an < arg0 > element.
  • Arg.getResource()
  • CreditCardValidator.isValidPrefix()
  • Field.ARG_DEFAULT
  • Field.hDependencies
  • Field.hArg0 - Field.hArg3
  • Field.addArg0() - Field.addArg3()
  • Field.getArg0() - Field.getArg3()
  • Field.addVarParam()
  • Field.process()
  • Field.processMessageComponents()
  • Field.getDependencies()
  • Form.getFieldMap()
  • Form.process()
  • FormSet.addConstant()
  • FormSet.addConstantParam()
  • FormSet.getForm(Object)
  • FormSet.process()
  • GenericValidator.REGEXP_DELIM
  • GenericValidator.validateCreditCardLuhnCheck()
  • GenericValidator.validateCreditCardPrefixCheck()
  • GenericValidator.getDelimittedRegExp()
  • Validator.BEAN_KEY
  • Validator.VALIDATOR_ACTION_KEY
  • Validator.FIELD_KEY
  • Validator.VALIDATOR_KEY
  • Validator.LOCALE_KEY
  • Validator.hResources
  • Validator.addResource()
  • Validator.getResource()
  • ValidatorAction.process()
  • ValidatorAction.getDependencies()
  • ValidatorResources.put()
  • ValidatorResources.addConstant()
  • ValidatorResources.addConstantParam()
  • ValidatorResources.get()
  • ValidatorResources.processForms()
  • ValidatorResourcesInitializer
  • ValidatorResult.getValid()
  • ValidatorResults.empty()
  • ValidatorResults.get()
  • ValidatorResults.properties()
  • ValidatorUtil
dgraham