demo.fmtemplate.ftl Maven / Gradle / Ivy
The newest version!
[#ftl]
The template at /demo/fmtemplate.ftl was rendered with Name from model: ${name}
and first name from controller model ${firstName!}
all off these includes should work similar to how one would expect in grails templates
Relative link "included.ftl"
1-[#include "included.ftl"]
absolute link "/demo/included.ftl"
2-[#include "/demo/included.ftl"]2
absolute link to another view directory
3-[#include "/pluginTest/override.ftl"]
realtive link to "subdir/subdir.ftl"
4-[#include "subdir/subdir.ftl"]