show-lab - دانشکده صنایع غذایی بهار
حصل خطأ عند معالجة القالب.
Java method "com.liferay.portal.kernel.util.DateUtil_IW.getDate(Date, String, Locale)" threw an exception when invoked on com.liferay.portal.kernel.util.DateUtil_IW object "com.liferay.portal.kernel.util.DateUtil_IW@1ed32202"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign publishDate = dateUtil.getDat... [in template "20097#20123#3856967" at line 36, column 5] ----
1<#if !entries?has_content>
2 <#if !themeDisplay.isSignedIn()>
3 ${renderRequest.setAttribute("PORTLET_CONFIGURATOR_VISIBILITY", true)}
4 </#if>
5
6<div class="alert alert-info">
7<@liferay_ui["message"] key="there-are-no-results" />
8 </div>
9</#if>
10<style>
11 .title-list svg {
12 width: 1.25em;
13 height: 1.25em;
14 }
15 .title-list svg use,.title-list .metadata-create-date {
16 stroke: #999;
17 color: #999;
18 font-size: 0.8em;
19 }
20 .title-list a {
21 color: #333;
22 }
23</style>
24<ul class="title-list ico-11" id="sp-${themeDisplay.getPortletDisplay().getId()}">
25<#list entries as entry>
26 <#assign
27 entry = entry
28
29 assetRenderer = entry.getAssetRenderer()
30
31 entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale))
32
33 viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, assetRenderer, entry, !stringUtil.equals(assetLinkBehavior, "showFullContent"))
34 />
35 <#assign dateFormat = "dd MM yyyy" />
36 <#assign publishDate=dateUtil.getDate(entry.getPublishDate(),dateFormat,locate)/>
37 <li class="title-list content ico-11 d-flex justify-content-between">
38 <span>
39 <a class="taglib-ico" href="${viewURL}">
40 <svg class="lexicon-icon lexicon-icon-web-content" focusable="false" role="presentation"><use xlink:href="/o/admin-theme/images/clay/icons.svg#web-content"></use>
41 </svg>
42 <span class="taglib-text">${entryTitle}</span>
43 </a>
44 </span>
45 <div class="asset-metadata hide">
46 <svg width="16" height="16">
47 <use xlink:href="/o/basu-theme/images/icons.svg#calendar"></use>
48 </svg>
49 <span class="metadata-entry metadata-create-date js-date" data-date="${publishDate} ?? DD MM YYYY ?? DD MMMM YYYY">${dateUtil.getDate(entry.getPublishDate(),'yyyy dd MMM',locate)} </span>
50
51 </div>
52 </li>
53</#list>
54</ul>