![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
freemark
文章平均质量分 57
carolAnn
这个作者很懒,什么都没留下…
展开
-
freemark自定义标签
freemark自定义标签:自定义标签类需SelectDirective implements TemplateDirectiveModel;eg:public class SelectDirective implements TemplateDirectiveModel实现execute方法:public void execute(Environment env, Map...原创 2012-01-31 15:56:01 · 241 阅读 · 0 评论 -
freemark 自定义标签 总结
参考:http://grails.org/doc/latest/ref/Tags/select.htmlhttp://freemarker.sourceforge.net/ 调用:<@d_select id="type_4" optionKey="position" optionValue="id" list=adSpaceBoList callBack=...原创 2012-01-31 16:38:50 · 311 阅读 · 0 评论 -
fk ?eval !true !?html
<#if (col['name']?eval)??> <#if col['escape']!true> ${(col['name']?eval)!?html} <#else...原创 2012-01-31 18:01:46 · 137 阅读 · 0 评论 -
ftl 入门
组成部分 一、整体结构 1、注释:<#--注释内容-->,不会输出。 2、文本:直接输出。 3、interpolation:由 ${var} 或 #{var} 限定,由计算值代替输出。 4、FTL标记 二、指令: freemarker指令有两种: 1、预定义指令:引用方式为<#指令名称> 2、用户定义指令:引用方式为<@指令名称&g...原创 2012-01-31 18:16:00 · 566 阅读 · 0 评论 -
ftl 参考资料链接
http://freemarker.sourceforge.net/http://www.blogjava.net/jzone/articles/284300.html others:http://grails.org/doc/latest/ref/Tags/select.html原创 2012-02-01 16:58:38 · 191 阅读 · 0 评论