主题 : 怎么跳转不过去? |
级别: 版主
![]() |
6# 发表于:2015-07-24 09:46:09 IP:115.173.*.*
[#list content.pictures as p]
<li> <p align=center> <table border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="center"><img src="${p.imgPath!}"/></td> </tr> </table> </p> </li> [/#list] |
||
---|---|---|---|
级别: 秀才
![]() |
7# 发表于:2015-07-24 09:49:44 IP:101.23.*.*
回复第6楼 [#list content.pictures as p]
<div class="rt_img"> <a class="tableimg_a" href="${a.url}><span class="tableimg_span db_img"><img src="${p.imgPath!}"></span></a> </div> [/#list] |
||
---|---|---|---|
级别: 秀才
![]() |
8# 发表于:2015-07-24 09:50:07 IP:101.23.*.*
回复第6楼 FreeMarker template error: The following has evaluated to null or missing: ==> content [in template "WEB-INF/t/cms/www/default/channel/Characters.html" at line 92, column 9] Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use [#if myOptionalVar??]when-present[#else]when-missing[/#if]. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)?? The failing instruction (FTL stack trace): ---------- ==> #list content.pictures as p [in template "WEB-INF/t/cms/www/default/channel/Characters.html" at line 92, column 2] @cms_content_list typeId="2" orderBy=... [in template "WEB-INF/t/cms/www/default/channel/Characters.html" at line 82, column 1] ---------- Java stack trace (for programmers): ---------- freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...] at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:98) at freemarker.core.UnexpectedTypeException.newDesciptionBuilder(UnexpectedTypeException.java:41) at freemarker.core.UnexpectedTypeException.(UnexpectedTypeException.java:24) at freemarker.core.Dot._eval(Dot.java:81) at freemarker.core.Expression.eval(Expression.java:111) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:94) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.MixedContent.accept(MixedContent.java:93) at freemarker.core.Environment.visitByHiddingParent(Environment.java:286) at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:193) at freemarker.core.Environment.visitIteratorBlock(Environment.java:509) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:103) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.Environment$1.render(Environment.java:313) at com.jeecms.cms.action.directive.ContentListDirective.execute(ContentListDirective.java:70) at freemarker.core.Environment.visit(Environment.java:341) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:136) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.MixedContent.accept(MixedContent.java:93) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.Environment.process(Environment.java:243) at freemarker.template.Template.process(Template.java:277) at com.jeecms.common.web.springmvc.SimpleFreeMarkerView.renderMergedTemplateModel(SimpleFreeMarkerView.java:111) at
|
||
---|---|---|---|