Note:
As of FreeMarker 2.3.23, you can use camel case instead of
all-lower-case for directive names, like noParse
instead of noparse
. But know that then withing
the same template, FreeMarker will enforce the usage of camel case
for all identifiers that are part of the template language (user
defined names are not affected).
- assign
- attempt
- break: in switch, in list
- case
- compress
- default
- else: in if, in list
- elseif
- escape
- fallback
- function
- flush
- ftl
- global
- if
- import
- include
- items
- list
- local
- lt
- macro
- nested
- noescape
- noparse
- nt
- recover
- recurse
- return: in macro, in function
- rt
- sep
- setting
- stop
- switch
- t
- User-defined directive (<@...>)
- visit
If you don't find a directive here that you have seen in a working template, probably you will find it in: Deprecated FTL constructs