Package org.apache.tapestry5
Class BindingConstants
- java.lang.Object
- 
- org.apache.tapestry5.BindingConstants
 
- 
 public class BindingConstants extends Object Constants for the built-in binding prefixes. These are often used with theParameter.defaultPrefix()annotation attribute.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringASSETReferences a localized asset.static StringBLOCKReferences a named block within the template.static StringCOMPONENTA reference to a component within the container's template, by local component id.static StringCONTEXTBinding factory for context assets specifically.static StringLITERALBinding expression prefix used for literal strings.static StringMESSAGEA reference to a localized message from the component's message catalog (including message keys inherited from the application global message catalog).static StringNULLFIELDSTRATEGYA way of selecting a namedNullFieldStrategycontributed toNullFieldStrategySource.static StringPROPBinding expression prefix used to bind to a property of the component.static StringSYMBOLReferences a value of a symbol.static StringTRANSLATEReferences a namedTranslatorcontributed to theTranslatorSourceservice.static StringVALIDATEReferences (and configures) one ore more namedValidators contributed to theFieldValidatorSourceservice.static StringVARAllows for temporary storage of information during the render only (may not currently be used during form submission processing).
 - 
Constructor SummaryConstructors Constructor Description BindingConstants()
 
- 
- 
- 
Field Detail- 
LITERALpublic static final String LITERAL Binding expression prefix used for literal strings.- See Also:
- Constant Field Values
 
 - 
PROPpublic static final String PROP Binding expression prefix used to bind to a property of the component. WhenParameter.defaultPrefix()is not specified, the default is PROP.- See Also:
- Constant Field Values
 
 - 
NULLFIELDSTRATEGYpublic static final String NULLFIELDSTRATEGY A way of selecting a namedNullFieldStrategycontributed toNullFieldStrategySource.- See Also:
- Constant Field Values
 
 - 
COMPONENTpublic static final String COMPONENT A reference to a component within the container's template, by local component id.- See Also:
- Constant Field Values
 
 - 
MESSAGEpublic static final String MESSAGE A reference to a localized message from the component's message catalog (including message keys inherited from the application global message catalog).- See Also:
- Constant Field Values
 
 - 
VALIDATEpublic static final String VALIDATE References (and configures) one ore more namedValidators contributed to theFieldValidatorSourceservice.- See Also:
- FieldValidatorSource, Constant Field Values
 
 - 
TRANSLATEpublic static final String TRANSLATE References a namedTranslatorcontributed to theTranslatorSourceservice. The binding is of typeFieldTranslator.- See Also:
- Constant Field Values
 
 - 
BLOCKpublic static final String BLOCK References a named block within the template.- See Also:
- Constant Field Values
 
 - 
ASSETpublic static final String ASSET References a localized asset. The asset will be relative to the component's class file, unless a prefix (typically, "context:") is used on the expression. Typically, this is used for classpath assets relative to the component class, andCONTEXTis used for context assets.- See Also:
- Asset,- AssetSource, Constant Field Values
 
 - 
VARpublic static final String VAR Allows for temporary storage of information during the render only (may not currently be used during form submission processing). This is often used to store the current object iterated over by aLoopcomponent.- See Also:
- Constant Field Values
 
 - 
CONTEXTpublic static final String CONTEXT Binding factory for context assets specifically. The expression is the path from the root of the web application.- Since:
- 5.1.0.0
- See Also:
- Constant Field Values
 
 - 
SYMBOLpublic static final String SYMBOL References a value of a symbol.- Since:
- 5.2.0
- See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
BindingConstantspublic BindingConstants() 
 
- 
 
-