Child pages
  • Can I change templateSuffix on a per-page basis
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

The templateSuffix variable controls which templating engine is used to render a page. To change the engine for a particular page, change the value of the templateSuffix variable.

Change to the Velocity Engine

<saf:set name="templateSuffix" value="vm" />

Change to the JSP engine

<saf:set name="templateSuffix" value="jsp" />

Change to the FreeMarker engine

(star) Freemarker is the default templating engine

<saf:set name="templateSuffix" value="ftk" />

See also Template Loading.

  • No labels