Package org.apache.tapestry5
Class BindingConstants
-
- org.apache.tapestry5.BindingConstants
-
public class BindingConstants extends
Constants for the built-in binding prefixes. These are often used with theParameter.defaultPrefix()
annotation attribute.
-
-
Field Summary
Fields Modifier and Type Field Description static
ASSET
References a localized asset.static
BLOCK
References a named block within the template.static
COMPONENT
A reference to a component within the container's template, by local component id.static
CONTEXT
Binding factory for context assets specifically.static
LITERAL
Binding expression prefix used for literal strings.static
MESSAGE
A reference to a localized message from the component's message catalog (including message keys inherited from the application global message catalog).static
NULLFIELDSTRATEGY
A way of selecting a namedNullFieldStrategy
contributed toNullFieldStrategySource
.static
PROP
Binding expression prefix used to bind to a property of the component.static
SYMBOL
References a value of a symbol.static
TRANSLATE
References a namedTranslator
contributed to theTranslatorSource
service.static
VALIDATE
References (and configures) one ore more namedValidator
s contributed to theFieldValidatorSource
service.static
VAR
Allows for temporary storage of information during the render only (may not currently be used during form submission processing).
-
Constructor Summary
Constructors Constructor Description BindingConstants()
-
-
-
Field Detail
-
LITERAL
public static final LITERAL
Binding expression prefix used for literal strings.- See Also:
- Constant Field Values
-
PROP
public static final 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
-
NULLFIELDSTRATEGY
public static final NULLFIELDSTRATEGY
A way of selecting a namedNullFieldStrategy
contributed toNullFieldStrategySource
.- See Also:
- Constant Field Values
-
COMPONENT
public static final COMPONENT
A reference to a component within the container's template, by local component id.- See Also:
- Constant Field Values
-
MESSAGE
public static final 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
-
VALIDATE
public static final VALIDATE
References (and configures) one ore more namedValidator
s contributed to theFieldValidatorSource
service.- See Also:
FieldValidatorSource
, Constant Field Values
-
TRANSLATE
public static final TRANSLATE
References a namedTranslator
contributed to theTranslatorSource
service. The binding is of typeFieldTranslator
.- See Also:
- Constant Field Values
-
BLOCK
public static final BLOCK
References a named block within the template.- See Also:
- Constant Field Values
-
ASSET
public static final 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:
Asset
,AssetSource
, Constant Field Values
-
VAR
public static final 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:
- Constant Field Values
-
CONTEXT
public static final 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
-
SYMBOL
public static final SYMBOL
References a value of a symbol.- Since:
- 5.2.0
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BindingConstants
public BindingConstants()
-
-