Download center
Download Center
- Group
- Media
- Multimedia
- Download center
Custom Facet
Hera Custom Facet Publish Date
Category Facet
Search Bar
Asset Publisher
Analyst presentation FY 2024
Documenti e Modulistica
Asset Publisher
Search Results
An error occurred while processing the template.
Java method "static it.reply.open.hera.template.custom.service.WidgetTemplateTool.getDateFormattedBy(String, String, Locale)" threw an exception; see cause exception in the Java stack trace.
----
FTL stack trace ("~" means nesting-related):
- Failed at: publishDate = hera_template_tool.getD... [in template "20099#20135#57725662" at line 80, column 13]
----
1<#assign
2assetVocabularyLocalServiceUtil = objectUtil("com.liferay.asset.kernel.service.AssetVocabularyLocalServiceUtil")
3vocabularyComunicatiStampa = assetVocabularyLocalServiceUtil.fetchGroupVocabulary(themeDisplay.getScopeGroupId(), languageUtil.get(locale, "comunicati-stampa"))
4vocabularyId = vocabularyComunicatiStampa.vocabularyId
5/>
6
7
8<#assign
9companyId=themeDisplay.getCompanyId() languageId=themeDisplay.getLanguageId()
10currentUrl=themeDisplay.getPortalURL() + themeDisplay.getURLCurrent() url=portalUtil.getPortalURL(themeDisplay)
11HERA_FIELD_TITLE="title_" + languageId
12HERA_FIELD_LOCALIZED_TITLE="title_" + languageId
13HERA_FIELD_SIMPLE_TITLE="title"
14HERA_FIELD_URL_TITLE="urlTitle"
15HERA_FIELD_CONTENT="content_" + languageId
16HERA_FIELD_DESCRIPTION="description"
17HERA_FIELD_DESCRIPTION_IT="description_" + languageId
18HERA_FIELD_PUBLISH_DATE="publishDate"
19HERA_FIELD_DISPLAYDATE="displayDate"
20HERA_FIELD_CREATEDATE="createDate"
21HERA_FIELD_CLASS_TYPE_ID="classTypeId"
22HERA_FIELD_ENTRY_CLASS_NAME="entryClassName"
23HERA_FIELD_CLASSPK="entryClassPK"
24HERA_FIELD_ENTRY_CLASS_NAME_LAYOUT="com.liferay.portal.kernel.model.Layout"
25HERA_FIELD_ENTRY_CLASS_NAME_JA="com.liferay.journal.model.JournalArticle"
26HERA_FIELD_ENTRY_CLASS_NAME_DFE="com.liferay.document.library.kernel.model.DLFileEntry"
27HERA_FIELD_ENTRY_CLASS_NAME_USER="com.liferay.portal.kernel.model.User"
28HERA_FIELD_ENTRY_CLASS_NAME_FOLDER="com.liferay.document.library.kernel.model.DLFolder"
29HERA_FIELD_ENTRY_CLASS_NAME_DDLRECORD="com.liferay.dynamic.data.lists.model.DDLRecord"
30HERA_FIELD_ENTRY_CLASS_NAME_DDMFORMINSTANCERECORD="com.liferay.dynamic.data.mapping.model.DDMFormInstanceRecord"
31HERA_FIELD_PREFIX="ddm__keyword__"
32HERA_FIELD_PREFIX_TEXT="ddm__text__"
33HERA_FIELD_SOTTOTITOLO="__sottotitolo_"
34HERA_FIELD_IMMAGINE="__immagine_"
35HERA_FIELD_IMMAGINE_SINISTRA_FOCUS="__ImmagineSinistra_"
36HERA_FIELD_IMMAGINE_LATERALE_INTERVISTE_COLLEGHI="__ImmagineLaterale_"
37HERA_FIELD_IMMAGINE_TYPE2= "__immagine_r13v_"
38HERA_ASSET_CATEGORY_TITLE="assetCategoryTitles"
39HERA_FIELD_USER_FULLNAME="fullName"
40HERA_FIELD_USER_EMAIL_ADDRESS="emailAddress"
41HERA_FIELD_ALLEGA_MULTI="__allegato_multi_"
42HERA_FIELD_IMMAGINE_ALIGN= "__immagine_align_"
43HERA_FIELD_IMMAGINE_TESTO_MULTI_ALIGN= "__immagine_testo_multi_align_"
44HERA_ORA_PUBBLICAZIONE="__ora_pubblicazione_"
45HERA_CONTENT="content_" + languageId
46
47
48CATEGORY_HERA_SPA=languageUtil.get(locale, "hera-spa")
49CATEGORY_IR_PRICE=languageUtil.get(locale, "ir-price")
50/>
51
52
53<#-- gruppohera_results.jsp es. ddm__keyword__54911__sottotitolo_it_IT es. displayDate -->
54
55<#-- Abilitare o Disabilitare Highlight dei termini ricercati in configurazione -->
56<#assign isHighlightEnabled=true />
57<#if portletPreferences["highlightEnabled"]?? && portletPreferences["highlightEnabled"][0]?has_content>
58 <#assign isHighlightEnabled=portletPreferences["highlightEnabled"][0] />
59</#if>
60
61<#assign docs=searchContainer.getResults() />
62
63
64<div class="container archivio my-4">
65 <#if docs?has_content>
66 <#list docs as d>
67
68 <#assign contentTitle="" contentSummary="" content="" contentDate="" />
69
70 <#assign contentTitle=hera_template_tool.highlight(d.get(HERA_FIELD_LOCALIZED_TITLE),searchResultsPortletDisplayContext.getKeywords(), isHighlightEnabled?boolean)
71 classTypeId=d.get(HERA_FIELD_CLASS_TYPE_ID)
72 sottotitolo=d.get(HERA_FIELD_PREFIX + classTypeId + HERA_FIELD_SOTTOTITOLO + languageId)
73 allegatomulti = d.get(HERA_FIELD_PREFIX + classTypeId + HERA_FIELD_ALLEGA_MULTI + languageId)
74 description=d.get(HERA_FIELD_DESCRIPTION_IT)
75 immagineInEvidenza=d.get(HERA_FIELD_PREFIX_TEXT+classTypeId + HERA_FIELD_IMMAGINE_ALIGN + languageId)
76 immagineInEvidenzatestomulti=d.get(HERA_FIELD_PREFIX_TEXT+classTypeId + HERA_FIELD_IMMAGINE_TESTO_MULTI_ALIGN + languageId)
77 urlTitle=d.get(HERA_FIELD_URL_TITLE)
78 contentSummary=hera_template_tool.highlight(d.get(HERA_CONTENT), searchResultsPortletDisplayContext.getKeywords(), isHighlightEnabled?boolean)
79 contentDate=hera_template_tool.getDateFormattedBy(d.get(HERA_FIELD_DISPLAYDATE),"dd/MM/yyyy",locale)
80 publishDate=hera_template_tool.getDateFormattedBy(d.get(HERA_FIELD_PUBLISH_DATE),"dd/MM/yyyy",locale)
81 oraPubblicazione = d.get(HERA_FIELD_PREFIX +classTypeId + HERA_ORA_PUBBLICAZIONE + languageId)
82 oraPubblicazioneObj = oraPubblicazione
83 checkcategory=0
84 contentUrl=hera_template_tool.getSearchResultViewURL(renderRequest, renderResponse,
85 d.get(HERA_FIELD_ENTRY_CLASS_NAME), d.get(HERA_FIELD_CLASSPK)?number, true, currentUrl)
86 content=d.get(HERA_FIELD_CONTENT) titlepage=languageUtil.get(locale, titlepage,
87 layout.getName(locale)) />
88
89 <#assign
90 immagineInEvidenzaObj=""
91 />
92 <#if immagineInEvidenza?? && immagineInEvidenza?has_content>
93 <#assign
94 immagineInEvidenzaObj=jsonFactoryUtil.createJSONObject(immagineInEvidenza)
95 />
96 <#else>
97 <#if immagineInEvidenzatestomulti?? && immagineInEvidenzatestomulti?has_content>
98 <#assign
99 immagineInEvidenzaObj=jsonFactoryUtil.createJSONObject(immagineInEvidenzatestomulti)
100 />
101 </#if>
102 </#if>
103 <#attempt>
104
105 <div class="post-item mb-3">
106 <#if allegatomulti?? && allegatomulti?has_content>
107
108 <#assign
109 allegatomultiObj = allegatomulti?eval/>
110
111 <#if allegatomultiObj?? && allegatomultiObj?has_content && allegatomultiObj.groupId?? && allegatomultiObj.title?? && allegatomultiObj.uuid??>
112 <#assign
113 urlDoc="/documents/" + allegatomultiObj.groupId + "/0/" + allegatomultiObj.title + "/" + allegatomultiObj.uuid />
114
115 <a href="${urlDoc}" target="blank_" class="tile boxarchivio-round position-relative white-bg">
116 <#if immagineInEvidenzaObj?? && immagineInEvidenzaObj?has_content >
117 <div class="row d-flex align-items-center">
118 <#else>
119 <div class="row d-flex align-items-center min-height-168">
120 </#if>
121 <#if immagineInEvidenzaObj?? && immagineInEvidenzaObj?has_content && immagineInEvidenzaObj.groupId?? && immagineInEvidenzaObj.name?? && immagineInEvidenzaObj.uuid??>
122 <#assign immagineUrl="/documents/" + immagineInEvidenzaObj.groupId + "/0/" + immagineInEvidenzaObj.name + "/" + immagineInEvidenzaObj.uuid />
123 <div class="col-xs-3 col-md-2">
124 <img title="${immagineInEvidenzaObj.name}" alt="${titlepage}" class="agg-tile-image img-archivio-news" src="${immagineUrl}" />
125 </div>
126 <div class="col-xs-9 col-md-10 offset-lg-1 col-lg-9 px-5 px-md-0">
127 <div class="container px-lg-3 pr-xl-4">
128 <div class="black py-2 small">
129 <div class="mr-0 mr-md-5 d-inline">
130 <#attempt>
131 ${contentDate}
132 <#recover>
133 </#attempt>
134 </div>
135 <#assign assetCategoryList= hera_template_tool.getAssetCategoryList(d.get("rootEntryClassPK"))/>
136 <#list assetCategoryList as entryCategory>
137 <#if entryCategory.vocabularyId == vocabularyId>
138 <#assign catName = entryCategory.name>
139 <#if catName==CATEGORY_HERA_SPA>
140 <#assign checkcategory=1 />
141 </#if>
142 <#if catName==CATEGORY_IR_PRICE>
143 <#assign checkcategory=1 />
144 </#if>
145
146 <div class="mr-2 d-inline gruppo-color-bg white px-1 py-0 py-lg-1 py-md-1 ${catName?lower_case}">
147 ${catName}
148 </div>
149 </#if>
150 </#list>
151 </div>
152
153 <h3 class="titlesize bigger black letter-spacing-sm bolder"> ${contentTitle}</h3>
154 <#if contentSummary?? && contentSummary?has_content>
155 <div class="d-none d-lg-block greyish-brown tilesize"> ${contentSummary} </div>
156 <#else>
157 <div class="d-none d-lg-block greyish-brown tilesize">
158 ${description}
159
160 </div>
161 </#if>
162 <#if checkcategory==1>
163 <i class="black py-2 mr-0 mr-md-3">
164 <#if publishDate!=""> Online dal ${publishDate} </#if>
165 <#--<#list oraPubblicazioneObj as ora_pubb>-->
166 <#if oraPubblicazioneObj!="">
167 alle ore ${oraPubblicazioneObj}
168 </#if>
169 <#--</#list>-->
170
171 </i>
172 </#if>
173 </div>
174 </div>
175 <#else>
176 <div class="col-xs-12 col-md-10">
177 <div class="container">
178 <div class="ml-4 black py-2 small mr-3">
179 <div class="mr-5 d-inline">
180 ${contentDate}
181 </div>
182
183 <#assign assetCategoryList= hera_template_tool.getAssetCategoryList(d.get("rootEntryClassPK"))/>
184 <#list assetCategoryList as entryCategory>
185 <#if entryCategory.vocabularyId == vocabularyId>
186 <#assign catName = entryCategory.name>
187 <#if catName==CATEGORY_HERA_SPA>
188 <#assign checkcategory=1 />
189 </#if>
190 <#if catName==CATEGORY_IR_PRICE>
191 <#assign checkcategory=1 />
192 </#if>
193
194 <div class="mr-2 d-inline gruppo-color-bg white px-1 py-0 py-lg-1 py-md-1">
195 ${catName}
196 </div>
197 </#if>
198 </#list>
199
200 </div>
201 <h3 class="titlesize bigger ml-4 black letter-spacing-sm bolder"> ${contentTitle}</h3>
202 <#if contentSummary?? && contentSummary?has_content>
203 <div class="d-none d-lg-block black tilesize ml-4">
204 ${contentSummary}
205 </div>
206 <#else>
207 <div class="d-none d-lg-block greyish-brown tilesize ml-4">
208 ${description}
209
210 </div>
211 </#if>
212 <#if checkcategory==1>
213 <i class="ml-4 black py-2 small mr-3">
214 <#if publishDate!=""> Online dal ${publishDate} </#if>
215 <#--<#list oraPubblicazioneObj as ora_pubb>-->
216 <#if oraPubblicazioneObj!="">
217 alle ore ${oraPubblicazioneObj}
218 </#if>
219 <#--</#list>-->
220 </i>
221 </#if>
222 </div>
223 </div>
224 </#if>
225
226 </div>
227 </a>
228 </#if>
229 </#if>
230 </div>
231 <#recover>
232 </#attempt>
233
234 </#list>
235 </#if>
236</div>
237
238
239<script>
240 $(document).ready(function () {
241 var url = window.location.href;
242 if (url.indexOf("/-/")>=0){
243 var recoverurl=localStorage.getItem("reindexcomunicati");
244 $(".reindexlink").attr("href",recoverurl);
245 }else{
246 localStorage.setItem("reindexcomunicati", url);
247 }
248 });
249</script>
Financial results FY2024 and
Creating shared value report 2024
Creating shared value report 2024
