Package org.apache.tapestry5
Class TapestryConstants
- java.lang.Object
-
- org.apache.tapestry5.TapestryConstants
-
public class TapestryConstants extends java.lang.Object
Constants needed by end-user classes.- Since:
- 5.2.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOMPONENT_EVENTS_ATTRIBUTE_NAMEName of the HTML data attribute which contains information about component events published by using the PublishEvent annotation in a component event handler method.static java.lang.StringDISABLE_JAVASCRIPT_MINIMIZATIONName of aRequestattribute, used to disable JavaScript minimization during asset requests.static java.lang.StringPAGE_LOOPBACK_PARAMETER_NAMEName of query parameter that is placed on "loopback" links (page render links for the same page).static java.lang.StringRESPONSE_RENDERERName of a request attribute that contains anIOOperationused to render the response.static java.lang.StringTEMPLATE_EXTENSIONThe extension used for Tapestry component template files, Tapestry Markup Language.
-
Constructor Summary
Constructors Constructor Description TapestryConstants()
-
-
-
Field Detail
-
TEMPLATE_EXTENSION
public static final java.lang.String TEMPLATE_EXTENSION
The extension used for Tapestry component template files, Tapestry Markup Language. Template files are well-formed XML files.- See Also:
- Constant Field Values
-
PAGE_LOOPBACK_PARAMETER_NAME
public static final java.lang.String 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
public static final java.lang.String RESPONSE_RENDERER
Name of a request attribute that contains anIOOperationused to render the response. The operation should return void. Implementations ofComponentEventResultProcessorwill store a response rendering operation into the request; the operation, if present, will be executed as the first filter inside theComponentRequestHandlerpipeline. This approach is recommended for any "complex" rendering that involves components or pages. It is optional for other types.- Since:
- 5.4
- See Also:
- Constant Field Values
-
DISABLE_JAVASCRIPT_MINIMIZATION
public static final java.lang.String DISABLE_JAVASCRIPT_MINIMIZATION
Name of aRequestattribute, used to disable JavaScript minimization during asset requests.- Since:
- 5.4
- See Also:
JavaScriptStack.getJavaScriptAggregationStrategy(), Constant Field Values
-
COMPONENT_EVENTS_ATTRIBUTE_NAME
public static final java.lang.String 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:
PublishEvent, Constant Field Values
-
-
Constructor Detail
-
TapestryConstants
public TapestryConstants()
-
-