local

Page Contents

Synopsis

<#local name=value>
or
<#local name1=value1 name2=value2 ... nameN=valueN>
or
<#local name>
  capture this
</#local>

Where:

Description

It is similar to assign directive, but it creates or replaces local variables. This only works inside macro definitions and function definitons.

For more information about variables, read this: Template Author's Guide/Miscellaneous/Defining variables in the template

FreeMarker Manual -- For FreeMarker 2.3.22
HTML generated: 2015-02-28 21:34:03 GMT
Edited with XMLMind XML Editor
Here!