Difference between revisions of "FreemarkerSupport"

From RunaWFE
Jump to navigation Jump to search
doc>Kaja
 
m (1 revision imported)
 
(No difference)

Latest revision as of 06:37, 23 November 2020

Using Freemarker

RunaWFE Free Workflow System (BPMS) Version 4.5.0

© 2003 - 2015, Consulting Group Runa

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

# 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"))!""}