Added default formats to Freemarker configuration. Added a test controller and template for running test cases.
This commit is contained in:
parent
340970c891
commit
30b07ebd05
5 changed files with 93 additions and 17 deletions
15
webapp/web/templates/freemarker/body/test.ftl
Normal file
15
webapp/web/templates/freemarker/body/test.ftl
Normal file
|
@ -0,0 +1,15 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt -->
|
||||
|
||||
<#-- FreeMarker test cases -->
|
||||
|
||||
<h2>Dates</h2>
|
||||
|
||||
<p>${now?datetime}</p>
|
||||
<p>${now?date}</p>
|
||||
<p>${now?time}</p>
|
||||
|
||||
<h2>Apples</h2>
|
||||
|
||||
<#list apples as apple>
|
||||
<p>${apple}</p>
|
||||
</#list>
|
Loading…
Add table
Add a link
Reference in a new issue