Package | Description |
---|---|
org.apache.tapestry.valid |
Components and classes that provide specialized, validating text fields.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractNumericValidator
Base class for a number of implementations of
IValidator ,
meant to replace the awkward NumberValidator . |
class |
BaseValidator
Abstract base class for
IValidator . |
class |
DateValidator
Provides input validation for strings treated as dates.
|
class |
EmailValidator
Simple validation of email strings, to enforce required, and minimum length (maximum length is
enforced in the client browser, by setting a maximum input length on the text field).
|
class |
IntValidator
A type-specific replacement for
NumberValidator . |
class |
NumberValidator
Simple validation for standard number classes.
|
class |
PatternValidator
The validator bean that provides a pattern validation service.
|
class |
StringValidator
Simple validation of strings, to enforce required, and minimum length (maximum length is enforced
in the client browser, by setting a maximum input length on the text field).
|
class |
UrlValidator |
Modifier and Type | Method and Description |
---|---|
abstract IValidator |
ValidField.getValidator() |
Modifier and Type | Method and Description |
---|---|
void |
IValidationDelegate.writeAttributes(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Invoked just before the <input> element is closed.
|
void |
ValidationDelegate.writeAttributes(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Does nothing.
|
void |
IValidationDelegate.writePrefix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Invoked before the field is rendered.
|
void |
ValidationDelegate.writePrefix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Does nothing.
|
void |
IValidationDelegate.writeSuffix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Invoked after the form component is rendered, so that the delegate may decorate the form
component (if it is in error).
|
void |
ValidationDelegate.writeSuffix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Default implementation; if the current field is in error, then a suffix is written.
|
Constructor and Description |
---|
ValidatorBinding(java.lang.String description,
ValueConverter valueConverter,
org.apache.hivemind.Location location,
IValidator validator) |