|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use IValidator | |
|---|---|
| org.apache.tapestry.contrib.valid | Backwards compatible versions of Tapestry 1.0.7's validating text fields, built as wrappers around the 1.0.8 versions. |
| org.apache.tapestry.valid | Components and classes that provide specialized, validating text fields. |
| Uses of IValidator in org.apache.tapestry.contrib.valid |
|---|
| Methods in org.apache.tapestry.contrib.valid that return IValidator | |
|---|---|
IValidator |
NumericField.getValidator()
Overrides ValidField.getValidator()to construct a validator on
the fly. |
IValidator |
DateField.getValidator()
Overrides ValidField.getValidator()to construct a validator on-the-fly. |
IValidator |
ValidatingTextField.getValidator()
Overrides ValidField.getValidator()to construct a validator on
the fly. |
| Uses of IValidator in org.apache.tapestry.valid |
|---|
| Classes in org.apache.tapestry.valid that implement IValidator | |
|---|---|
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
|
| Methods in org.apache.tapestry.valid that return IValidator | |
|---|---|
abstract IValidator |
ValidField.getValidator()
|
| Methods in org.apache.tapestry.valid with parameters of type IValidator | |
|---|---|
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)
Currently appends a single css class attribute of fieldInvalid if the field
is in error. |
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. |
| Constructors in org.apache.tapestry.valid with parameters of type IValidator | |
|---|---|
ValidatorBinding(String description,
ValueConverter valueConverter,
org.apache.hivemind.Location location,
IValidator validator)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||