| GWC Template Language Reference / Template Paths - Application hierarchy | |
Path: application/state/ended
The Ended is a unique sub-object from ApplicationState object that represents the application ended state.
| Fields | Type | Description |
|---|---|---|
| application/state/ended/normal | Attribute (boolean) | True if the application has properly ended. |
| application/state/ended/timeout | Attribute (boolean) | True if the application has not been launch within DVM_AVAILABLE timeout. |
| application/state/ended/error | Object | An EndedError object describing the application error that provokes the application end. |
Except from EndingPage.xhtml in $FGLASDIR/tpl/common:
<b>The application ended.</b>
<i gwc:condition="application/state/ended/timeout"><br/>
Timeout occured.</i>
<i gwc:condition="application/state/ended/error"><br/>
An internal error occured.</i>
<pre style="xx-small" gwc:condition="application/state/ended/error"
gwc:content="application/state/ended/error/message"/>
<ul>
<li><a gwc:attributes="href document/restartURL">
Start the same application</a></li>
<li><a gwc:attributes="href application/connectorURI+'/demos.html'">
Go back to the demo page</a></li>
</ul>
Displays messages on the application state at application ending.