Additions to freemarker samples page

This commit is contained in:
rjy7 2010-12-20 20:07:48 +00:00
parent 8c0124819c
commit 900caff315
4 changed files with 8 additions and 17 deletions

View file

@ -2,6 +2,8 @@
<#-- FreeMarker samples -->
<#import "lib-datetime.ftl" as dt>
<h2>${title}</h2>
<@widget name="test" />
@ -13,6 +15,9 @@
<li>Current time: ${now?time}</li>
</ul>
<h3>Formatted datetime</h3>
<p><p>${dt.xsdDateTimeToYear(xsddatetime)}</p>
<h3>Apples</h3>
<ul>
<#list apples as apple>