includeSnippet()

The IncludeSnippet() function includes a snippet.

Syntax

includeSnippet(expr)
Note:
  1. expr is the snippet identifier

Example

<div gwc:condition="application/state/ended"
 gwc:content="includeSnippet('EndingPage')" />
EndingPage snippet identifier is defined in as.xcf. You can define you own identifier in an external configuration file.
<SNIPPET Id="EndingPage">$(res.path.tpl.common)/EndingPage.xhtml</SNIPPET>