FreemarkerSupport

From RunaWFE

Jump to: navigation, search

Using Freemarker

Version 4.3.0

© 2015-2018, "Process Technologies" Ltd, this document is available under GNU FDL license. RUNA WFE is an open source system distributed under a LGPL license (http://www.gnu.org/licenses/lgpl.html).

Source code moved from https://sourceforge.net/p/runawfe to https://github.com/processtech.

# Overview

Freemarker is a template engine which provides formation of a document on the basis of a template and data.

In the system Freemarker is used

  • in forms like FTL
  • in the contents email-messages

# Syntax for variables display

To see the full syntax address to the official documentation.

Variable type Construct (working with null)
String ${var!""}
Number ${(var?c)!""}
Date ${(var?string["dd.MM.yyyy"])!""}
Time ${(var?string["hh:mm"])!""}
Date-time ${(var?string["dd.MM.yyyy hh:mm"])!""}
Flag ${(var?string("yes", "no"))!""}
Personal tools