Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing: ==> entry.getAssetRenderer() [in template "45851" at line 6, column 29] ---- Tip: If the failing expression is known to be 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: #assign renderer = entry.getAssetRend... [in template "45851" in function "getAssetEntryFields" at line 6, column 9] - Reached through: #assign listaCampiDisponibili = getAs... [in template "20101#20128#76091" at line 7, column 25] ----
1<#include "${templatesPath}/45851"/>
2<@showCategoriesForAsset classTypePk=portletPreferences["classTypeIds"]?first groupId=20124/>
3
4<#if entries?has_content>
5 <div class="agora">
6 <#list entries as curEntry>
7 <#assign listaCampiDisponibili = getAssetEntryFields(curEntry)/>
8 <#assign assetRenderer = curEntry.getAssetRenderer() />
9 <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 item-content">
10 <div>${curEntry.getPublishDate()?string["EEEEEEEEEEE dd MMMMMMMMMMMMM yyyy"]}</div>
11 <#if curEntry.getCategories()?size !=0>
12 <div class="tipologia">${(curEntry.getCategories()?first).getName()}</div>
13 </#if>
14 <header>
15 <h1>
16 <a class="titolo" href="${listaCampiDisponibili['readMoreUrl']}">
17 ${listaCampiDisponibili['Titolo']}
18 </a>
19 </h1>
20 </header>
21
22 <#assign articleId = assetRenderer.getArticle().getArticleId()/>
23 <#assign folderArticleId = getFolderArticle(articleId)/>
24 <#if folderArticleId!=-1>
25 <#assign pathSite = themeDisplay.getPathFriendlyURLPublic()/>
26 <#if themeDisplay.getLayout().isPrivateLayout()>
27 <#assign pathSite = themeDisplay.getPathFriendlyURLPrivateGroup()/>
28 </#if>
29 <#assign siteUrl=themeDisplay.getSiteGroup().getFriendlyURL()/>
30 <div class="download-allegati" style="width: 10%;float: right;margin-top: -25px;">
31 <a href="${pathSite}${siteUrl}/utility/-/utility/downloadAttachments/${folderArticleId}" title="Download Allegati" target="_blank">
32 <i class="fa fa-lg fa-download"></i>
33 </a>
34 </div>
35 </#if>
36
37 </div>
38
39
40 </#list>
41 </div>
42</#if>
—
10 Elementi per Pagina