Package org.apache.tapestry.valid

Components and classes that provide specialized, validating text fields.

See:
          Description

Class Summary
BaseValidatorTestCase Base class for tests of different IValidatorimplementations.
FieldLabelTest Tests for the FieldLabel component.
MockDelegate Mock implementation of IValidationDelegateused to test decoration.
TestDateValidator Tests the DateValidatorclass.
TestEmailValidator Tests for EmailValidator.
TestIntValidator Tests for IntValidator.
TestNumberValidator Test the NumberValidator.
TestPatternValidator Test cases for PatternValidator.
TestStringValidator Tests the StringValidatorclass.
TestUrlValidator Tests for EmailValidator.
TestValidatorBindingFactory Tests for ValidatorBindingFactory.
TestValidField Tests for ValidField.
ValidationDelegateTest Test the class ValidationDelegate.
 

Package org.apache.tapestry.valid Description

Components and classes that provide specialized, validating text fields. The component ValidField does most of the work, and is paired with an implementation of IValidator (often as a helper bean) which provides the rules of translation (between object value and string) and validation.

Fields can all be set as required or not; most IValidator implementations add additional validations, such as fitting the input value between a minimum and maximum value.

Fields can also have a FieldLabel that reflects the state (normal or error) of the field.

Author:
Howard Lewis Ship hlship@apache.org


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