Working on custom forms in freemarker.

This commit is contained in:
bdc34 2010-11-17 17:40:04 +00:00
parent aba71e6913
commit 0b2dc61fbe
8 changed files with 398 additions and 47 deletions

View file

@ -0,0 +1,17 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- SelecListWidget -->
<#macro assets>
<#--
${stylesheets.add("/css/something.css")}
${scripts.add("/js/somejavascript.js")}
-->
</#macro>
<#macro markup>
<#assign keys = selectList?keys>
<#list keys as key>
<option value="${key}" >${selectList[key]}</option>
</#list>
</#macro>