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 String
References a localized asset.static final String
References a named block within the template.static final String
A reference to a component within the container's template, by local component id.static final String
Binding factory for context assets specifically.static final String
Binding expression prefix used for literal strings.static final String
A reference to a localized message from the component's message catalog (including message keys inherited from the application global message catalog).static final String
A way of selecting a namedNullFieldStrategy
contributed toNullFieldStrategySource
.static final String
Binding expression prefix used to bind to a property of the component.static final String
References a value of a symbol.static final String
References a namedTranslator
contributed to theTranslatorSource
service.static final String
References (and configures) one ore more namedValidator
s contributed to theFieldValidatorSource
service.static final String
Allows 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 namedNullFieldStrategy
contributed 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 namedValidator
s contributed to theFieldValidatorSource
service.- See Also:
-
TRANSLATE
References a namedTranslator
contributed to theTranslatorSource
service. 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, andCONTEXT
is 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 aLoop
component.- 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()
-