首页 新闻 会员 周边

HTML5 <#if (caseList)?exists>使用报错求大神帮助

0
悬赏园豆:20 [已关闭问题] 关闭于 2018-02-09 17:18
<div class="index_dis3">
<#if (caseList)?exists>
<div><img src="#(ctx)/images/index_02.png" alt=""></div>
<div><img src="#(ctx)/${case.image}" alt=""></div>
</#if>
<div><img src="#(ctx)/images/index_02.png" alt=""></div>
</div

报错内容

[ERROR]-[Thread: http-apr-8080-exec-5]-[com.jfinal.core.ActionHandler.handle()]: /
com.jfinal.render.RenderException: com.jfinal.template.stat.ParseException: #if directive requires parentheses "()"
Template: "/template/index/index.html". Line: 40
at com.jfinal.render.TemplateRender.render(TemplateRender.java:62)
at com.jfinal.core.ActionHandler.handle(ActionHandler.java:108)
at com.jfinal.ext.handler.ContextPathHandler.handle(ContextPathHandler.java:48)

石启亚的主页 石启亚 | 初学一级 | 园豆:178
提问于:2018-01-29 17:52
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册