There are 3 basic building blocks in FreeMarker.
Interpolations
Interpolations are represented by ${…}, FreeMarker will replace it with the actual value coming from the model object.
FreeMarker Template tags
These are instructions given to FreeMarker. Built-in template tags start with # and User defined tags start with @.
Example Of Built-in Tags
#if, #else, #list
Comments
Comments are used to document your ftl file. Comments are delimited <#-- and -->
No comments:
Post a Comment