Commons Resources (Unofficial)
|
Type | Changes | By |
| Allow multiple forms to be on the same page by generating a unique variable name based on form name. PR# 17667 |
rleland
|
| Validate file extensions for file uploads. PR# 26585 |
rleland
|
| Add Support for hidden fields in javascript validations. PR# 26584 |
rleland
|
| 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
|
| Added a more flexible card validation system that doesn't require CreditCardValidator to support every brand of credit card. PR# 25869 |
dgraham
|
| Throw RuntimeException if clone fails instead of InternalError. |
dgraham
|
| Added Flags.clear(). |
dgraham
|
Type | Changes | By |
| Add javadoc to javascript, and use jsdoc to process it. |
rleland
|
| Ignore validation criteria when field is disabled for all field types. |
rleland
|
| Add required check for single checkbox. |
rleland
|
| 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
|
| Added Field.getArgs(String) to make it easier to retrieve all of the Args for a given validator. |
dgraham
|
| Modify javascript to honor datapattern option. |
rleland
|
| Add ability of required to handle checkboxes, radio, select-one, and select-multiple field types. |
rleland
|
| Add ability to use required condition on array types like checkboxes. |
rleland
|
Type | Changes | By |
| Move Digester rule configuration to XML file and remove ValidatorResourcesInitializer. ValidatorResources now knows how to initialize itself. |
dgraham
|
| Clean up scopes of methods and variables. |
dgraham
|
| Make Arg system more flexible to allow any number of args in a message. |
dgraham
|
| Validate validation.xml files while initializing a Validator to alert developers to configuration errors. |
dgraham
|
| Refactored GenericValidator methods into reusable objects. These include: CreditCardValidator, EmailValidator, DateValidator, and UrlValidator. |
dgraham
|
| 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
|
| Deprecated items; see the javadoc for details and replacements. The <arg0-3> elements have been replaced with a single <arg> element with a new position attribute. 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
|
|