处理模板时发生错误。
Expected hash. currentFolder evaluated instead to freemarker.template.SimpleScalar on line 3, column 25 in 26059.
1<!-- 顶部导航 --> 2<#include "${templatesPath}/26047" /> 3<!-- banner --> 4<#include "${templatesPath}/26068" /> 5 <div class="content"> 6 <#assign currentFolderId = folderId ! longObject.valueOf("24060")> 7 <#-- 默认第一页 --> 8 <#assign pageNum = pageNum ! 1> 9 10 <#-- 默认每页显示12条记录 --> 11 <#assign numsPerPage = 12 > 12 <#assign count = hirisunArticleUtil.getArticlesCount(scopeGroupId, currentFolderId, true) > 13 <#assign pagination = hirisunPortletUtil.getPagination(count, pageNum, numsPerPage) > 14 15 <#assign articleList = hirisunArticleUtil.getArticles(scopeGroupId, currentFolderId, pagination.start, pagination.end,"createDate","desc",true) > 16 <!-- 侧边导航 --> 17 <#include "${templatesPath}/26059" /> 18 <div class="content_r"> 19 <div class="content_r_title"> 20 <!-- 面包屑 --> 21 <#include "${templatesPath}/26056" /> 22 </div> 23 <div class="content_r_con"> 24 25 <#list articleList as article> 26 <#assign content = hirisunPortletUtil.getValueFromXML(article.content,"dynamic-element[@name='content']")> 27 <#assign date = hirisunPortletUtil.getValueFromXML(article.content,"dynamic-element[@name='date']")> 28 <#assign synopsis = hirisunPortletUtil.getValueFromXML(article.content,"dynamic-element[@name='synopsis']")> 29 <#if date??> 30 <#assign date = article.getCreateDate()> 31 </#if> 32 33 <#assign url = hirisunArticleUtil.getArticleDetailBaseURLByArticleId(scopeGroupId,article.articleId+"",request)> 34 <#if article_index == 0 || article_index %2 == 0> 35 <div class="news_list"> 36 <div class="news_list_left"> 37 <div class="news_list_day">${date?string('dd')}</div> 38 <div class="news_list_time">${date?string('yyyy-MM')}</div> 39 </div> 40 <div class="news_list_con" style="width:740px;"> 41 <h2><a href="${url}/v/${article.articleId}/">${article.titleCurrentValue}</a></h2> 42 <p><a href="${url}/v/${article.articleId}/">${synopsis}</a></p> 43 </div> 44 <div class="clear"></div> 45 </div> 46 <#else> 47 <div class="news_list" style="background: #fafafa;" > 48 <div class="news_list_left"> 49 <div class="news_list_day">${date?string('dd')}</div> 50 <div class="news_list_time">${date?string('yyyy-MM')}</div> 51 </div> 52 <div class="news_list_con" style="width:740px;"> 53 <h2><a href="${url}/v/${article.articleId}/">${article.titleCurrentValue}</a></h2> 54 <p><a href="${url}/v/${article.articleId}/">${synopsis}</a></p> 55 </div> 56 <div class="clear"></div> 57 </div> 58 </#if> 59 </#list> 60 <!-- 分页模板 --> 61 </div> 62 </div> 63 <div class="clear"></div> 64 </div> 65<!-- 底部导航 --> 66<#include "${templatesPath}/26050" />