论坛首页 综合技术论坛

在Freemarker引用eXtremeComponents?

浏览 3356 次
该帖已经被评为隐藏帖
作者 正文
   发表时间:2007-04-06  
相同的环境,jsp可以,Freemarker报错
我的代码是:
<@ec.table items="moduleList" action="listModule.do"
imagePath="../styles/system/<@bean.message
key='SYSTEM.CSS'/>/eXtremeComponents/images/*.gif">
        <@ec.row>
                <@ec.column property="id"/>
                <@ec.column property="name"/>
                <@ec.column property="url"/>
        </...@ec.row>
</...@ec.table>
报错:
FreeMarker template error!

on line 18, column 9 in system/listModule.ftl ec.row not found.
The problematic instruction:
----------
==> user-directive ec.row [on line 18, column 9 in
system/listModule.ftl]
 in user-directive ec.table [on line 17, column 1 in
system/listModule.ftl]
----------

Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: on line 18, column 9 in
system/listModule.ftl ec.row not found.
        at freemarker.core.UnifiedCall.accept(UnifiedCall.java:136)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.Environment.visit(Environment.java:233)
        at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.MixedContent.accept(MixedContent.java:92)
        at freemarker.core.Environment.visit(Environment.java:196)
        at freemarker.core.Environment.process(Environment.java:176)
        at freemarker.template.Template.process(Template.java:232)

谁知道是什么原因?
   发表时间:2007-04-06  
listModule.ftl是不是这个文件的事情呀,你看看?
0 请登录后投票
论坛首页 综合技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics