GWC Template Language Reference / Template Paths - Application hierarchy |
Path: application/state
The ApplicationState is a unique sub-object from the Application object that represents the application state.
With the introduction of the snippet-based rendering engine, the main template can be used to surface the application regardless of its state, eliminating the need for individual template files for each application state. A change in the application state (interactive, processing, and so on) will be handled in the main template using these application state paths.
Fields | Type | Description |
---|---|---|
application/state/interactive | Attribute (boolean) | DVM state interactive or not. |
application/state/processing | Object | A Processing object describing the processing state if any. |
application/state/ended | Object | An Ended object describing the ended state if any. |
<div gwc:condition="application/state/ended" class="gEnding" gwc:content="includeSnippet('EndingPage')" />
Displays the "EndingPage" snippet when the application ends.