The following directives are deprecated, but still working:
-
call
: use user-defined directive call instead -
comment
: This is the old format of<#--...-->
. Anything between the<#comment>
and</#comment>
will be ignored. -
foreach
: it is a synonym of thelist
directive with slightly different parameter syntax. The syntax is<#foreach item in sequence>
that is equivalent with<#list sequence as item>
. -
transform
: use user-defined directive call instead
The following directives are not working anymore:
-
Legacy
function
: Originallyfunction
was used to define macros, and was deprecated in favor of themacro
directive. As of FreeMarker 2.3, this directive is reintroduced with different meaning: it is used to define methods.