Package org.apache.tapestry5
Class BindingConstants
java.lang.Object
org.apache.tapestry5.BindingConstants
Constants for the built-in binding prefixes. These are often used with the
Parameter.defaultPrefix() annotation attribute.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringReferences a localized asset.static final StringReferences a named block within the template.static final StringA reference to a component within the container's template, by local component id.static final StringBinding factory for context assets specifically.static final StringBinding expression prefix used for literal strings.static final StringA reference to a localized message from the component's message catalog (including message keys inherited from the application global message catalog).static final StringA way of selecting a namedNullFieldStrategycontributed toNullFieldStrategySource.static final StringBinding expression prefix used to bind to a property of the component.static final StringReferences a value of a symbol.static final StringReferences a namedTranslatorcontributed to theTranslatorSourceservice.static final StringReferences (and configures) one ore more namedValidators contributed to theFieldValidatorSourceservice.static final StringAllows for temporary storage of information during the render only (may not currently be used during form submission processing). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LITERAL
Binding expression prefix used for literal strings.- See Also:
-
PROP
Binding expression prefix used to bind to a property of the component. WhenParameter.defaultPrefix()is not specified, the default is PROP.- See Also:
-
NULLFIELDSTRATEGY
A way of selecting a namedNullFieldStrategycontributed toNullFieldStrategySource.- See Also:
-
COMPONENT
A reference to a component within the container's template, by local component id.- See Also:
-
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:
-
VALIDATE
References (and configures) one ore more namedValidators contributed to theFieldValidatorSourceservice.- See Also:
-
TRANSLATE
References a namedTranslatorcontributed to theTranslatorSourceservice. The binding is of typeFieldTranslator.- See Also:
-
BLOCK
References a named block within the template.- See Also:
-
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:
-
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:
-
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:
-
SYMBOL
References a value of a symbol.- Since:
- 5.2.0
- See Also:
-
-
Constructor Details
-
BindingConstants
public BindingConstants()
-