Package org.apache.tapestry5
Class TapestryConstants
java.lang.Object
org.apache.tapestry5.TapestryConstants
Constants needed by end-user classes.
- Since:
- 5.2.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Name of the HTML data attribute which contains information about component events published by using the PublishEvent annotation in a component event handler method.static final String
Name of aRequest
attribute, used to disable JavaScript minimization during asset requests.static final String
Name of query parameter that is placed on "loopback" links (page render links for the same page).static final String
Name of a request attribute that contains anIOOperation
used to render the response.static final String
The extension used for Tapestry component template files, Tapestry Markup Language. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TEMPLATE_EXTENSION
The extension used for Tapestry component template files, Tapestry Markup Language. Template files are well-formed XML files.- See Also:
-
PAGE_LOOPBACK_PARAMETER_NAME
Name of query parameter that is placed on "loopback" links (page render links for the same page). This mostly includes the redirects sent after a component event request. Page render requests that do not have the LOOPBACK query parameter will trigger a reset notification after the initialization event; the LOOPBACK prevents this reset notification. -
RESPONSE_RENDERER
Name of a request attribute that contains anIOOperation
used to render the response. The operation should return void. Implementations ofComponentEventResultProcessor
will store a response rendering operation into the request; the operation, if present, will be executed as the first filter inside theComponentRequestHandler
pipeline. This approach is recommended for any "complex" rendering that involves components or pages. It is optional for other types.- Since:
- 5.4
- See Also:
-
DISABLE_JAVASCRIPT_MINIMIZATION
Name of aRequest
attribute, used to disable JavaScript minimization during asset requests.- Since:
- 5.4
- See Also:
-
COMPONENT_EVENTS_ATTRIBUTE_NAME
Name of the HTML data attribute which contains information about component events published by using the PublishEvent annotation in a component event handler method.- Since:
- 5.4.2
- See Also:
-
-
Constructor Details
-
TapestryConstants
public TapestryConstants()
-