Package | Description |
---|---|
org.apache.tapestry.form |
Components for implementing basic HTML Forms.
|
org.apache.tapestry.form.translator | |
org.apache.tapestry.form.validator |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFormComponentContributor
Abstract
FormComponentContributor implementation that adds an optional static javscript
method reference to the page. |
Modifier and Type | Interface and Description |
---|---|
interface |
Translator
Interface used by
ValidatableField s to both format an object as text and translate
submitted text into an appropriate object for a given field. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTranslator
Abstract
Translator implementation that provides default behavior for trimming, null
object, and empty text handling. |
class |
DateTranslator
A
SimpleDateFormat -based Translator implementation. |
class |
FormatTranslator
Abstract
Translator implementation for Format -based translators. |
class |
NumberTranslator
A
DecimalFormat -based Translator implementation. |
class |
StringTranslator
A trivial
Translator implementation. |
Modifier and Type | Interface and Description |
---|---|
interface |
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). |
Modifier and Type | Class and Description |
---|---|
class |
AbstractValidatorWrapper
Abstract implementation of
Validator that delegates to
some other object. |
class |
BaseValidator
Abstract implementation of
Validator . |
class |
BeanValidatorWrapper
Implementation of
Validator that delegates to a
managed bean obtained from a component. |
class |
Email
Validates that the user input, a string, is an email address (by checking it against a regular
expression).
|
class |
Max
Validates that the input value is not larger than a particular maximum value.
|
class |
MaxDate
Validates that the object, a Date, is not after a set maximum.
|
class |
MaxLength
Validator that ensures a string value does not exceed a maximum length.
|
class |
Min
Expects the object to be a number, and checks that the value not smaller than a specified value.
|
class |
MinDate
Expects the value to be a
Date , and constrains the date to follow a particular date. |
class |
MinLength
Validates that the value, a string, is of a minimum length.
|
class |
Pattern
Validates a user input string against a regular expression pattern.
|
class |
Required
Validator that ensures a value was supplied. |