首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

Freemark is not specified错误的一点思考

2012-09-21 
Freemark is not specified异常的一点思考  同事在调试Freemark遇到如下错误:#if freeBackTable.itemList

Freemark is not specified异常的一点思考

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

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

?

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

?

热点排行