Package | Description |
---|---|
org.apache.tapestry5 |
Root package for Tapestry, containing common interfaces and data types used throughout the framework.
|
org.apache.tapestry5.internal.services |
[INTERNAL USE ONLY] internal service classes; API subject to change
|
org.apache.tapestry5.ioc |
A code-centric, high-performance, simple Inversion of Control container
|
org.apache.tapestry5.ioc.internal.util |
[INTERNAL USE ONLY] utility classes for Tapestry IOC services; API subject to change
|
org.apache.tapestry5.ioc.test |
Classes supporting testing of Tapestry IOC services
|
org.apache.tapestry5.ioc.util |
Utility classes supporting Tapestry IOC services
|
org.apache.tapestry5.validator |
Validators for use by Tapestry (and custom) form field components.
|
Modifier and Type | Method and Description |
---|---|
void |
Validator.render(Field field,
C constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport)
Hook used by components to allow the validator to contribute additional attributes or (more often) client-side
JavaScript (via the
FormSupport.addValidation(Field, String, String, Object) ). |
void |
Validator.validate(Field field,
C constraintValue,
MessageFormatter formatter,
T value)
Invoked after the client-submitted value has been
translated to check
that the value conforms to expectations (often, in terms of minimum or maximum value). |
Constructor and Description |
---|
FieldTranslatorImpl(Field field,
Translator<T> translator,
MessageFormatter formatter,
FormSupport formSupport) |
FieldValidatorImpl(Field field,
Object constraintValue,
MessageFormatter messageFormatter,
Validator validator,
FormSupport formSupport) |
Modifier and Type | Method and Description |
---|---|
MessageFormatter |
Messages.getFormatter(String key)
Returns a formatter for the message, which can be used to substitute arguments (as per
Formatter ). |
Modifier and Type | Class and Description |
---|---|
class |
MessageFormatterImpl |
Modifier and Type | Method and Description |
---|---|
protected MessageFormatter |
IOCTestCase.mockMessageFormatter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
IOCTestCase.train_format(MessageFormatter formatter,
String result,
Object... arguments)
Deprecated.
Have to put the result before the varargs.
|
protected void |
IOCTestCase.train_getMessageFormatter(Messages messages,
String key,
MessageFormatter formatter)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MessageFormatter |
AbstractMessages.getFormatter(String key) |
Modifier and Type | Method and Description |
---|---|
void |
MinLength.render(Field field,
Integer constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport) |
void |
MaxLength.render(Field field,
Integer constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport) |
void |
Min.render(Field field,
Long constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport) |
void |
Max.render(Field field,
Long constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport) |
void |
Regexp.render(Field field,
Pattern constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport) |
void |
Checked.render(Field field,
Void constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport) |
void |
Required.render(Field field,
Void constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport) |
void |
Email.render(Field field,
Void constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport) |
void |
None.render(Field field,
Void constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport)
Does nothing.
|
void |
MinLength.validate(Field field,
Integer constraintValue,
MessageFormatter formatter,
String value) |
void |
MaxLength.validate(Field field,
Integer constraintValue,
MessageFormatter formatter,
String value) |
void |
Min.validate(Field field,
Long constraintValue,
MessageFormatter formatter,
Number value) |
void |
Max.validate(Field field,
Long constraintValue,
MessageFormatter formatter,
Number value) |
void |
Regexp.validate(Field field,
Pattern constraintValue,
MessageFormatter formatter,
String value) |
void |
Required.validate(Field field,
Void constraintValue,
MessageFormatter formatter,
Object value) |
void |
None.validate(Field field,
Void constraintValue,
MessageFormatter formatter,
Object value)
Does nothing.
|
void |
Email.validate(Field field,
Void constraintValue,
MessageFormatter formatter,
String value) |
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.