Package | Description |
---|---|
org.apache.tapestry5 |
Root package for Tapestry, containing common interfaces and data types used throughout the framework.
|
org.apache.tapestry5.internal |
[INTERNAL USE ONLY] internal support classes; API subject to change.
|
org.apache.tapestry5.internal.services |
[INTERNAL USE ONLY] internal service classes; API subject to change
|
org.apache.tapestry5.modules | |
org.apache.tapestry5.services |
Core services
|
org.apache.tapestry5.test |
Support for testing Tapestry pages
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
FieldValidationSupport.parseClient(java.lang.String clientValue,
ComponentResources componentResources,
FieldTranslator<java.lang.Object> translator,
NullFieldStrategy nullFieldStrategy)
A wrapper around
Translator.parseClient(Field, String, String) . |
java.lang.String |
FieldValidationSupport.toClient(java.lang.Object value,
ComponentResources componentResources,
FieldTranslator<java.lang.Object> translator,
NullFieldStrategy nullFieldStrategy)
A wrapper around
Translator.toClient(Object) that first fires a "toclient" event on
the component to see if it can perform the conversion. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultNullFieldStrategy
Default strategy, which is to do nothing: null values stay null.
|
class |
ZeroNullFieldStrategy
Treats nulls to or from the client as if they were 0's.
|
Modifier and Type | Method and Description |
---|---|
NullFieldStrategy |
NullFieldStrategySourceImpl.get(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
FieldValidationSupportImpl.parseClient(java.lang.String clientValue,
ComponentResources componentResources,
FieldTranslator<java.lang.Object> translator,
NullFieldStrategy nullFieldStrategy) |
java.lang.String |
FieldValidationSupportImpl.toClient(java.lang.Object value,
ComponentResources componentResources,
FieldTranslator<java.lang.Object> translator,
NullFieldStrategy nullFieldStrategy) |
Constructor and Description |
---|
NullFieldStrategySourceImpl(java.util.Map<java.lang.String,NullFieldStrategy> configuration) |
Modifier and Type | Method and Description |
---|---|
static void |
TapestryModule.contributeNullFieldStrategySource(MappedConfiguration<java.lang.String,NullFieldStrategy> configuration)
Contributes strategies accessible via the
NullFieldStrategySource service. |
Modifier and Type | Method and Description |
---|---|
NullFieldStrategy |
NullFieldStrategySource.get(java.lang.String name)
Returns the instance based on the name.
|
Modifier and Type | Method and Description |
---|---|
protected NullFieldStrategy |
TapestryTestCase.mockNullFieldStrategy() |
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.