Uses of Interface
org.apache.tapestry5.commons.MessageFormatter
-
Packages that use MessageFormatter Package Description org.apache.tapestry5 Root package for Tapestry, containing common interfaces and data types used throughout the framework.org.apache.tapestry5.commons org.apache.tapestry5.commons.internal.util org.apache.tapestry5.commons.util org.apache.tapestry5.internal.services [INTERNAL USE ONLY] internal service classes; API subject to changeorg.apache.tapestry5.ioc.test org.apache.tapestry5.validator Validators for use by Tapestry (and custom) form field components. -
-
Uses of MessageFormatter in org.apache.tapestry5
Methods in org.apache.tapestry5 with parameters of type MessageFormatter Modifier and Type Method 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 theFormSupport.addValidation(Field, String, String, Object)
).void
Validator. validate(Field field, C constraintValue, MessageFormatter formatter, T value)
Invoked after the client-submitted value has beentranslated
to check that the value conforms to expectations (often, in terms of minimum or maximum value). -
Uses of MessageFormatter in org.apache.tapestry5.commons
Methods in org.apache.tapestry5.commons that return MessageFormatter Modifier and Type Method Description MessageFormatter
Messages. key)
Returns a formatter for the message, which can be used to substitute arguments (as per ). -
Uses of MessageFormatter in org.apache.tapestry5.commons.internal.util
Classes in org.apache.tapestry5.commons.internal.util that implement MessageFormatter Modifier and Type Class Description class
MessageFormatterImpl
-
Uses of MessageFormatter in org.apache.tapestry5.commons.util
Methods in org.apache.tapestry5.commons.util that return MessageFormatter Modifier and Type Method Description MessageFormatter
AbstractMessages. key)
-
Uses of MessageFormatter in org.apache.tapestry5.internal.services
Constructors in org.apache.tapestry5.internal.services with parameters of type MessageFormatter Constructor Description FieldTranslatorImpl(Field field, Translator<T> translator, MessageFormatter formatter, FormSupport formSupport)
FieldValidatorImpl(Field field, constraintValue, MessageFormatter messageFormatter, Validator validator, FormSupport formSupport)
-
Uses of MessageFormatter in org.apache.tapestry5.ioc.test
Methods in org.apache.tapestry5.ioc.test that return MessageFormatter Modifier and Type Method Description protected MessageFormatter
IOCTestCase. mockMessageFormatter()
Deprecated.Methods in org.apache.tapestry5.ioc.test with parameters of type MessageFormatter Modifier and Type Method Description protected void
IOCTestCase. train_format(MessageFormatter formatter, result, ... arguments)
Deprecated.Have to put the result before the varargs.protected void
IOCTestCase. train_getMessageFormatter(Messages messages, key, MessageFormatter formatter)
Deprecated. -
Uses of MessageFormatter in org.apache.tapestry5.validator
Methods in org.apache.tapestry5.validator with parameters of type MessageFormatter Modifier and Type Method Description void
Checked. render(Field field, constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)
void
Email. render(Field field, constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)
void
Max. render(Field field, constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)
void
MaxLength. render(Field field, constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)
void
Min. render(Field field, constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)
void
MinLength. render(Field field, constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)
void
None. render(Field field, constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)
Does nothing.void
Regexp. render(Field field, constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)
void
Required. render(Field field, constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)
void
Email. validate(Field field, constraintValue, MessageFormatter formatter, value)
void
Max. validate(Field field, constraintValue, MessageFormatter formatter, value)
void
MaxLength. validate(Field field, constraintValue, MessageFormatter formatter, value)
void
Min. validate(Field field, constraintValue, MessageFormatter formatter, value)
void
MinLength. validate(Field field, constraintValue, MessageFormatter formatter, value)
void
None. validate(Field field, constraintValue, MessageFormatter formatter, value)
Does nothing.void
Regexp. validate(Field field, constraintValue, MessageFormatter formatter, value)
void
Required. validate(Field field, constraintValue, MessageFormatter formatter, value)
-