Svarbu
Apdorojant šabloną įvyko klaida.
The following has evaluated to null or missing: ==> uuid [in template "20101#20127#114832" at line 39, column 165] ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like 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 parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${uuid} [in template "20101#20127#114832" at line 39, column 163] ----
1<div style="padding-top: 18px"></div>
2<div id="container-fluid container-fluid-max-xl naujienos-container">
3 <div class="row">
4 <#if entries?has_content>
5 <#assign liferay_ui = taglibLiferayHash["/META-INF/liferay-ui.tld"] />
6 <#assign cnt = 0 />
7 <#list entries as entry>
8 <#assign assetRenderer = entry.getAssetRenderer() />
9 <#assign link = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry, true)>
10 <#assign renderer = entry.getAssetRenderer() />
11 <#assign className = renderer.getClassName() />
12 <#if className == "com.liferay.journal.model.JournalArticle" >
13 <#assign journalArticle = renderer.getArticle() />
14 <#assign document = saxReaderUtil.read(journalArticle.getContent()) />
15 <#assign rootElement = document.getRootElement() />
16 <#foreach dynamicElement in rootElement.elements() >
17 <#if "strucImage" == dynamicElement.attributeValue("name") >
18 <#assign strucImage = dynamicElement.element("dynamic-content").getData() />
19 <#assign
20 data = strucImage?eval
21 alt = data.alt
22 groupId = data.groupId
23 uuid = data.uuid
24 />
25 <#elseif "strucAuthor" == dynamicElement.attributeValue("name")>
26 <#assign strucAuthor = dynamicElement.element("dynamic-content").getData() />
27 <#elseif "strucEnglish" == dynamicElement.attributeValue("name")>
28 <#assign strucEnglish = dynamicElement.element("dynamic-content").getData() />
29 <#else>
30 <#assign strucEnglish = "" />
31 </#if>
32 </#foreach>
33 </#if>
34 <#if (locale == "lt_LT" && strucEnglish == "") || (locale == "en_US" && strucEnglish == "true")>
35 <#assign cnt = cnt + 1 />
36 <div class="col-md-4">
37 <div class="naujiena-box">
38 <a class="hidden" style="text-decoration: none;" href="${link}">
39 <div class="naujiena-foto" style="background: url(${themeDisplay.getPortalURL()}/c/document_library/get_file?uuid=${uuid}&groupId=${groupId}); background-size: cover"></div>
40 <div class="title-announcements-title">${entry.getTitle(locale)}</div>
41 <div class="title-announcements-publish-date">${entry.getPublishDate()?date?iso_utc}</div>
42 <div class="title-announcements-summary">
43 <#if strucAuthor != "">
44 ${strucAuthor}
45 <#assign strucAuthor = "" />
46 </#if>
47 ${entry.getSummary(locale)}
48 </div>
49 <#assign vc = entry.getViewCount() />
50 <div class="announcements-view-count-container">
51 <span class="announcements-view-count">${entry.getViewCount()}
52 <#if locale=="lt_LT">
53 <#if vc % 10 == 0 || (vc gt 10 && vc < 20)> peržiūrų
54 <#elseif vc % 10 == 1> peržiūra
55 <#else> peržiūros
56 </#if>
57 <#elseif vc % 10 == 1> view
58 <#else> views
59 </#if>
60 </span>
61 </div>
62 </a>
63 </div>
64 </div>
65 <#if cnt = 3>
66 </div>
67 <div style="padding-top: 18px"></div>
68 <div class="row">
69 <#assign cnt = 0 />
70 </#if>
71 </#if>
72 </#list>
73 </#if>
74 </div>
75</div>
76<style>
77break{
78 flex-basis: 100%;
79 width: 0px;
80 height: 0px;
81 overflow: hidden;
82}
83</style>