Skip to content

Extension org.gramar.base Tag include

chrisgerken edited this page Sep 14, 2015 · 2 revisions

include Tag

The include tag Processes another template in the gramar in-line as resolves to the text content produced by that template.

  • string template - (required) The gramar-relative pathname of the template to be processed in-line (included).
  • string restore - A string containing a set of names, separated by commas or spaces. The values of these context variables will be restored when the tag processing completes.

Usage and examples

Place a taglib element within <taglibs> element in the gramar.config file in the root of your gramar:

<taglibs>
    <taglib  prefix="c" extension="org.gramar.base" />
</taglibs>

Return to org.gramar.base

Clone this wiki locally