| 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 |
|---|---|
Object |
FieldValidationSupport.parseClient(String clientValue,
ComponentResources componentResources,
FieldTranslator<Object> translator,
NullFieldStrategy nullFieldStrategy)
A wrapper around
Translator.parseClient(Field, String, String). |
String |
FieldValidationSupport.toClient(Object value,
ComponentResources componentResources,
FieldTranslator<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(String name) |
| Modifier and Type | Method and Description |
|---|---|
Object |
FieldValidationSupportImpl.parseClient(String clientValue,
ComponentResources componentResources,
FieldTranslator<Object> translator,
NullFieldStrategy nullFieldStrategy) |
String |
FieldValidationSupportImpl.toClient(Object value,
ComponentResources componentResources,
FieldTranslator<Object> translator,
NullFieldStrategy nullFieldStrategy) |
| Constructor and Description |
|---|
NullFieldStrategySourceImpl(Map<String,NullFieldStrategy> configuration) |
| Modifier and Type | Method and Description |
|---|---|
static void |
TapestryModule.contributeNullFieldStrategySource(MappedConfiguration<String,NullFieldStrategy> configuration)
Contributes strategies accessible via the
NullFieldStrategySource service. |
| Modifier and Type | Method and Description |
|---|---|
NullFieldStrategy |
NullFieldStrategySource.get(String name)
Returns the instance based on the name.
|
| Modifier and Type | Method and Description |
|---|---|
protected NullFieldStrategy |
TapestryTestCase.mockNullFieldStrategy() |
5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.