Freemarker ref: http://freemarker.sourceforge.net/docs/

A freemarker comment is of the format:
<#-- comment here -->

To test if a field exists you can do something like:
<#if fields.primaryName?exists>
    <H3>${fields.primaryName}</H3>
  </#if>
Note that "fields" is just a Map that I put in the page data.
Version 5.1 last modified by Geoff Fortytwo on 11/07/2010 at 19:04

Attachments 0

No attachments for this document
Website Top
Send Me Mail!:
   g42website2 AT g42.org

Creator: Geoff Fortytwo on 2008/05/12 01:17
This wiki is licensed under a Creative Commons license
1.3.2.9174