Unsupported web browser - Use a modern browser to view this website!
FreeMarker
  • Home
  • Manual
  • Java API
  • Contribute
  • Report a Bug
  • Download
Manual
  • Apache FreeMarker Manual
  • Template Language Reference
Bookmarks:
  • Alpha. index
  • Glossary
  • Expressions
  • ?builtins
  • #directives
  • .spec_vars
  • FAQ
PreviousNext

Template Language Reference

Section Contents
  • Built-in Reference
    • Alphabetical index
    • Built-ins for strings
    • Built-ins for numbers
    • Built-ins for date/time/date-time values
    • Built-ins for booleans
    • Built-ins for sequences
    • Built-ins for hashes
    • Built-ins for nodes (for XML)
    • Loop variable built-ins
    • Type independent built-ins
    • Seldom used and expert built-ins
  • Directive Reference
    • Alphabetical index
    • assign
    • attempt, recover
    • autoesc
    • compress
    • escape, noescape (deprecated)
    • flush
    • ftl
    • function, return
    • global
    • if, else, elseif
    • import
    • include
    • list, else, items, sep, break, continue
    • local
    • macro, nested, return
    • noautoesc
    • noparse
    • nt
    • outputformat
    • setting
    • stop
    • switch, case, default, break
    • t, lt, rt
    • User-defined directive (<@...>)
    • visit, recurse, fallback
  • Special Variable Reference
  • Reserved names in FTL
  • Deprecated FTL constructs
    • List of deprecated directives
    • List of deprecated built-ins
    • Old-style macro and call directives
    • Transform directive
    • Old FTL syntax
    • #{...}: Numerical interpolation
PreviousNext

Overview

  • What is FreeMarker?
  • Download
  • Version history
  • About us
  • License

Handy stuff

  • Try template online
  • Expressions cheatsheet
  • #directives
  • ?built_ins
  • .special_vars

Community

  • FreeMarker on Github
  • Follow us on Twitter
  • Report a bug
  • Ask a question
  • Mailing lists
  • Github
  • Twitter
  • Stack Overflow
Edited with XMLMind XML Editor

Last generated: 2021-02-09 21:33:59 GMT, for Freemarker 2.3.31

© 1999–2021 The Apache Software Foundation. Apache FreeMarker, FreeMarker, Apache Incubator, Apache, the Apache FreeMarker logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.