Uses of Interface
org.apache.tapestry5.FieldTranslator
Packages that use FieldTranslator
Package
Description
Root package for Tapestry, containing common interfaces and data types used throughout the framework.
The set of core pages available in all Tapestry applications
[INTERNAL USE ONLY] internal service classes; API subject to change
Core services
Support for testing Tapestry pages
-
Uses of FieldTranslator in org.apache.tapestry5
Methods in org.apache.tapestry5 with parameters of type FieldTranslatorModifier and TypeMethodDescriptionFieldValidationSupport.parseClient
(String clientValue, ComponentResources componentResources, FieldTranslator<Object> translator, NullFieldStrategy nullFieldStrategy) A wrapper aroundTranslator.parseClient(Field, String, String)
.FieldValidationSupport.toClient
(Object value, ComponentResources componentResources, FieldTranslator<Object> translator, NullFieldStrategy nullFieldStrategy) A wrapper aroundTranslator.toClient(Object)
that first fires a "toclient" event on the component to see if it can perform the conversion. -
Uses of FieldTranslator in org.apache.tapestry5.corelib.pages
Methods in org.apache.tapestry5.corelib.pages that return FieldTranslatorModifier and TypeMethodDescriptionPropertyEditBlocks.getNumberFieldTranslator()
PropertyEditBlocks.getPasswordFieldTranslator()
PropertyEditBlocks.getTextAreaTranslator()
PropertyEditBlocks.getTextFieldTranslator()
-
Uses of FieldTranslator in org.apache.tapestry5.internal.services
Classes in org.apache.tapestry5.internal.services that implement FieldTranslatorMethods in org.apache.tapestry5.internal.services that return FieldTranslatorModifier and TypeMethodDescriptionFieldTranslatorSourceImpl.createDefaultTranslator
(ComponentResources resources, String parameterName) FieldTranslatorSourceImpl.createDefaultTranslator
(Field field, String overrideId, Messages overrideMessages, Locale locale, Class propertyType, AnnotationProvider propertyAnnotations) FieldTranslatorSourceImpl.createTranslator
(ComponentResources resources, String translatorName) FieldTranslatorSourceImpl.createTranslator
(Field field, String overrideId, Messages overrideMessages, Locale locale, Translator translator) ComponentDefaultProviderImpl.defaultTranslator
(String parameterName, ComponentResources resources) Methods in org.apache.tapestry5.internal.services with parameters of type FieldTranslatorModifier and TypeMethodDescriptionFieldValidationSupportImpl.parseClient
(String clientValue, ComponentResources componentResources, FieldTranslator<Object> translator, NullFieldStrategy nullFieldStrategy) FieldValidationSupportImpl.toClient
(Object value, ComponentResources componentResources, FieldTranslator<Object> translator, NullFieldStrategy nullFieldStrategy) -
Uses of FieldTranslator in org.apache.tapestry5.services
Methods in org.apache.tapestry5.services that return FieldTranslatorModifier and TypeMethodDescriptionFieldTranslatorSource.createDefaultTranslator
(ComponentResources resources, String parameterName) FieldTranslatorSource.createDefaultTranslator
(Field field, String overrideId, Messages overrideMessages, Locale locale, Class propertyType, AnnotationProvider propertyAnnotations) Creates aFieldTranslator
for the given property, or returns null if one can't be constructed.FieldTranslatorSource.createTranslator
(ComponentResources componentResources, String translatorName) Creates a translator (used by thetranslate: binding prefix
).FieldTranslatorSource.createTranslator
(Field field, String overrideId, Messages overrideMessages, Locale locale, Translator translator) Wraps aTranslator
as a FieldTranslator.ComponentDefaultProvider.defaultTranslator
(String parameterName, ComponentResources resources) Deprecated.PropertyEditContext.getTranslator
(Field field) Returns the translator appropriate for the field (this is based on the property type). -
Uses of FieldTranslator in org.apache.tapestry5.test
Methods in org.apache.tapestry5.test that return FieldTranslatorModifier and TypeMethodDescriptionprotected final FieldTranslator
TapestryTestCase.mockFieldTranslator()
Methods in org.apache.tapestry5.test with parameters of type FieldTranslatorModifier and TypeMethodDescriptionprotected final void
TapestryTestCase.train_createDefaultTranslator
(FieldTranslatorSource source, ComponentResources resources, String parameterName, FieldTranslator translator)
ComponentDefaultProvider.defaultTranslatorBinding(String, org.apache.tapestry5.ComponentResources)
instead