Package org.apache.tapestry.form.validator

Form validation infrastructure.

See:
          Description

Interface Summary
Validator An object that can be "attached" to a IFormComponent to perform server-side validation (Validator.validate(IFormComponent, ValidationMessages, Object)) as well as generate cleint-side validation (in the form of JavaScript submit listeners).
ValidatorFactory Constructs Validator instances from a specification.
 

Class Summary
AbstractValidatorWrapper Abstract implementation of Validator that delegates to some other object.
BaseValidator Abstract implementation of Validator.
BeanValidatorWrapper Implementation of Validator that delegates to a managed bean obtained from a component.
Email Validates that the user input, a string, is an email address (by checking it against a regular expression).
Identity Validates that the input value is the same as the value of another field.
Max Validates that the input value is not larger than a particular maximum value.
MaxDate Validates that the object, a Date, is not after a set maximum.
MaxLength Validator that ensures a string value does not exceed a maximum length.
Min Expects the object to be a number, and checks that the value not smaller than a specified value.
MinDate Expects the value to be a Date, and constrains the date to follow a particular date.
MinLength Validates that the value, a string, is of a minimum length.
Pattern Validates a user input string against a regular expression pattern.
Required Validator that ensures a value was supplied.
ValidatorContribution Contains information contributed to the tapestry.form.validator.Validators configuration point.
ValidatorFactoryImpl Implementation of the tapestry.form.validator.ValidatorFactory service, which builds and caches validators and lists of validators from a "magic" string specification.
ValidatorsBinding Binding used to hold a list of Validators.
ValidatorsBindingFactory  
 

Package org.apache.tapestry.form.validator Description

Form validation infrastructure.

Author:
Howard Lewis Ship hlship@apache.org


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.