Uses of Interface
org.apache.tapestry5.services.FormSupport
Packages that use FormSupport
Package
Description
Root package for Tapestry, containing common interfaces and data types used throughout the framework.
Base components intended to be extended by other components rather than
used directly in templates.
[INTERNAL USE ONLY] support classes for the Tapestry-core module; API subject to change
core components.
[INTERNAL USE ONLY] JSR-303 Bean Validation implementation details; API subject to change
[INTERNAL USE ONLY] internal service classes; API subject to change
[INTERNAL USE ONLY] translator implementation classes; API subject to change.
Support for testing Tapestry pages
Validators for use by Tapestry (and custom) form field components.
-
Uses of FormSupport in org.apache.tapestry5
Methods in org.apache.tapestry5 with parameters of type FormSupportModifier and TypeMethodDescriptionvoid
Translator.render
(Field field, String message, MarkupWriter writer, FormSupport formSupport) Hook used by components to allow the validator to contribute additional attributes or (more often) client-side JavaScript (via theaddValidation(Field, String, String, Object)
).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 theaddValidation(Field, String, String, Object)
). -
Uses of FormSupport in org.apache.tapestry5.corelib.base
Fields in org.apache.tapestry5.corelib.base declared as FormSupportMethods in org.apache.tapestry5.corelib.base with parameters of type FormSupportModifier and TypeMethodDescriptionprotected final void
AbstractField.setFormSupport
(FormSupport formSupport) -
Uses of FormSupport in org.apache.tapestry5.corelib.internal
Subinterfaces of FormSupport in org.apache.tapestry5.corelib.internalModifier and TypeInterfaceDescriptioninterface
Additional methods forFormSupport
used internally by Tapestry.Classes in org.apache.tapestry5.corelib.internal that implement FormSupportModifier and TypeClassDescriptionclass
An implementation ofFormSupport
that delegates all behavior to another instance of FormSupport.class
Provides support to components enclosed by a form when the form is rendering (allowing the components to registry form submit callback commands), and also during form submission time.Constructors in org.apache.tapestry5.corelib.internal with parameters of type FormSupport -
Uses of FormSupport in org.apache.tapestry5.internal.beanvalidator
Constructors in org.apache.tapestry5.internal.beanvalidator with parameters of type FormSupportModifierConstructorDescriptionBeanFieldValidator
(Field field, javax.validation.ValidatorFactory validatorFactory, BeanValidatorGroupSource beanValidationGroupSource, ClientConstraintDescriptorSource clientValidatorSource, FormSupport formSupport, Environment environment) BeanFieldValidatorDefaultSource
(FieldValidatorDefaultSource fieldValidatorDefaultSource, javax.validation.ValidatorFactory validatorFactory, BeanValidatorGroupSource beanValidationGroupSource, ClientConstraintDescriptorSource clientValidatorSource, FormSupport formSupport, Environment environment) -
Uses of FormSupport in org.apache.tapestry5.internal.services
Constructors in org.apache.tapestry5.internal.services with parameters of type FormSupportModifierConstructorDescriptionFieldTranslatorImpl
(Field field, Translator<T> translator, MessageFormatter formatter, FormSupport formSupport) FieldTranslatorSourceImpl
(TranslatorSource translatorSource, Messages globalMessages, FormSupport formSupport) FieldValidatorImpl
(Field field, Object constraintValue, MessageFormatter messageFormatter, Validator validator, FormSupport formSupport) FieldValidatorSourceImpl
(Messages globalMessages, TypeCoercer typeCoercer, FormSupport formSupport, Map<String, Validator> validators, ValidatorMacro validatorMacro) -
Uses of FormSupport in org.apache.tapestry5.internal.translator
Methods in org.apache.tapestry5.internal.translator with parameters of type FormSupportModifier and TypeMethodDescriptionvoid
NumericTranslator.render
(Field field, String message, MarkupWriter writer, FormSupport formSupport) void
StringTranslator.render
(Field field, String message, MarkupWriter writer, FormSupport formSupport) Does nothing. -
Uses of FormSupport in org.apache.tapestry5.modules
Methods in org.apache.tapestry5.modules that return FormSupportModifier and TypeMethodDescriptionTapestryModule.buildFormSupport()
Builds a proxy to the currentFormSupport
inside this thread'sEnvironment
. -
Uses of FormSupport in org.apache.tapestry5.test
Methods in org.apache.tapestry5.test that return FormSupportMethods in org.apache.tapestry5.test with parameters of type FormSupportModifier and TypeMethodDescriptionprotected final void
TapestryTestCase.train_getFormComponentId
(FormSupport formSupport, String componentId) protected final void
TapestryTestCase.train_getFormValidationId
(FormSupport formSupport, String validationId) -
Uses of FormSupport in org.apache.tapestry5.validator
Methods in org.apache.tapestry5.validator with parameters of type FormSupportModifier and TypeMethodDescriptionvoid
Checked.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
Max.render
(Field field, Long 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
MinLength.render
(Field field, Integer constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport) void
None.render
(Field field, Void constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport) Does nothing.void
Regexp.render
(Field field, Pattern constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport) void
Required.render
(Field field, Void constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)