读书人

Freemark is not specified错误的一点

发布时间: 2012-09-21 15:47:26 作者: rapoo

Freemark is not specified异常的一点思考

  同事在调试Freemark遇到如下错误:

<#if freeBackTable.itemList?exists && freeBackTable.itemList?has_content> <@itemList=freeBackTable.itemList /></#if>

?

  再次运行程序,问题解决。在使用Freemark自定义的变量前,如果变量引用了一个第三方传递过来的对象,应该先判断该对像是否为null,在赋值给这个自定义变量。

?

读书人网 >Web前端

热点推荐