"Un Pozzo di Scienza" compie 10 anni e mette al lavoro i cervelli dei ragazzi per cambiare il mondo
Hera Custom Facet Publish Date
Sfaccettature personalizzate
Barra di ricerca
Risultati ricerca
Si è verificato un errore nell'elaborarazione del modello.
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#57725638" at line 82, 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_it_IT"
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_TYPE2= "__immagine_r13v_"
36HERA_ASSET_CATEGORY_TITLE="assetCategoryTitles"
37HERA_FIELD_USER_FULLNAME="fullName"
38HERA_FIELD_USER_EMAIL_ADDRESS="emailAddress"
39HERA_ORA_PUBBLICAZIONE="__ora_pubblicazione_"
40HERA_CONTENT="content_it_IT"
41
42CATEGORY_HERA_SPA=languageUtil.get(locale, "hera-spa")
43CATEGORY_IR_PRICE=languageUtil.get(locale, "ir-price")
44/>
45
46
47<#-- gruppohera_results.jsp es. ddm__keyword__54911__sottotitolo_it_IT es. displayDate -->
48
49<#-- Abilitare o Disabilitare Highlight dei termini ricercati in configurazione -->
50<#assign isHighlightEnabled=true />
51<#if portletPreferences["highlightEnabled"]?? && portletPreferences["highlightEnabled"][0]?has_content>
52 <#assign isHighlightEnabled=portletPreferences["highlightEnabled"][0] />
53</#if>
54
55<#assign docs=searchContainer.getResults() />
56<div class="search-total-label">
57 <#if searchContainer.getTotal()==1>
58 ${languageUtil.format(locale, "x-result-for-x", [searchContainer.getTotal(), "<strong>" +
59 htmlUtil.escape(searchResultsPortletDisplayContext.getKeywords()) + "</strong>"], false)}
60 <#else>
61 ${languageUtil.format(locale, "x-results-for-x", [searchContainer.getTotal(), "<strong>" +
62 htmlUtil.escape(searchResultsPortletDisplayContext.getKeywords()) + "</strong>"], false)}
63 </#if>
64</div>
65
66<div class="container archivio my-4">
67 <#if docs?has_content>
68 <#list docs as d>
69
70
71 <#assign contentTitle="" contentSummary="" content="" contentDate="" />
72
73 <#assign contentTitle=hera_template_tool.highlight(d.get(HERA_FIELD_LOCALIZED_TITLE),searchResultsPortletDisplayContext.getKeywords(), isHighlightEnabled?boolean)
74 classTypeId=d.get(HERA_FIELD_CLASS_TYPE_ID)
75 sottotitolo=d.get(HERA_FIELD_PREFIX + classTypeId + HERA_FIELD_SOTTOTITOLO + languageId)
76 description=hera_template_tool.highlight(d.get(HERA_FIELD_DESCRIPTION_IT), searchResultsPortletDisplayContext.getKeywords(), isHighlightEnabled?boolean)
77 immagineInEvidenza=d.get(HERA_FIELD_PREFIX_TEXT+classTypeId + HERA_FIELD_IMMAGINE + languageId)
78 immagineInEvidenzaType2=d.get(HERA_FIELD_PREFIX_TEXT+classTypeId + HERA_FIELD_IMMAGINE_TYPE2 + languageId)
79 urlTitle=d.get(HERA_FIELD_URL_TITLE)
80 contentSummary=hera_template_tool.highlight(d.get(HERA_CONTENT), searchResultsPortletDisplayContext.getKeywords(), isHighlightEnabled?boolean)
81 contentDate=hera_template_tool.getDateFormattedBy(d.get(HERA_FIELD_DISPLAYDATE),"dd/MM/yyyy",locale)
82 publishDate=hera_template_tool.getDateFormattedBy(d.get(HERA_FIELD_PUBLISH_DATE),"dd/MM/yyyy",locale)
83 oraPubblicazione = d.get(HERA_FIELD_PREFIX +classTypeId + HERA_ORA_PUBBLICAZIONE + languageId)
84 oraPubblicazioneObj = oraPubblicazione
85 checkcategory=0
86 contentUrl=hera_template_tool.getSearchResultViewURL(renderRequest, renderResponse,
87 d.get(HERA_FIELD_ENTRY_CLASS_NAME), d.get(HERA_FIELD_CLASSPK)?number, true, currentUrl)
88 content=d.get(HERA_FIELD_CONTENT) titlepage=languageUtil.get(locale, titlepage,
89 layout.getName(locale)) />
90
91 <#attempt>
92 <#assign
93 immagineInEvidenzaObj=jsonFactoryUtil.createJSONObject(immagineInEvidenza)
94 />
95
96 <#recover>
97 <#attempt>
98 <#assign immagineInEvidenzaObj=jsonFactoryUtil.createJSONObject(immagineInEvidenzaType2)/>
99 <#recover>
100 <#assign immagineInEvidenzaObj=""/>
101 </#attempt>
102 </#attempt>
103
104 <#if immagineInEvidenzaObj?? && immagineInEvidenzaObj?has_content && !immagineInEvidenzaObj.groupId?? && !immagineInEvidenzaObj.name?? && !immagineInEvidenzaObj.uuid??>
105
106 <#attempt>
107 <#assign immagineInEvidenzaObj=immagineInEvidenzaType2?eval />
108 <#recover>
109 <#assign immagineInEvidenzaObj=""/>
110 </#attempt>
111 </#if>
112
113 <div class="post-item mb-3">
114 <a href="${urlTitle}" class="tile boxarchivio-round position-relative white-bg">
115 <#if immagineInEvidenzaObj?? && immagineInEvidenzaObj?has_content >
116 <div class="row d-flex align-items-center">
117 <#else>
118 <div class="row d-flex align-items-center min-height-168">
119 </#if>
120 <#if immagineInEvidenzaObj?? && immagineInEvidenzaObj?has_content && immagineInEvidenzaObj.groupId?? && immagineInEvidenzaObj.name?? && immagineInEvidenzaObj.uuid??>
121 <#assign immagineUrl="/documents/" + immagineInEvidenzaObj.groupId + "/0/" + immagineInEvidenzaObj.name + "/" + immagineInEvidenzaObj.uuid />
122 <div class="col-xs-3 col-md-2">
123 <img title="${immagineInEvidenzaObj.name}" alt="${titlepage}" class="agg-tile-image img-archivio-news" src="${immagineUrl}" />
124 </div>
125 <div class="col-xs-9 col-md-10 offset-lg-1 col-lg-9 px-5 px-md-0">
126 <div class="container px-lg-3 pr-xl-4">
127 <div class="black py-2 small">
128 <div class="mr-0 mr-md-5 d-inline">
129 <#attempt>
130 ${contentDate}
131 <#recover>
132 </#attempt>
133 </div>
134 <#assign assetCategoryList= hera_template_tool.getAssetCategoryList(d.get("rootEntryClassPK"))/>
135 <#list assetCategoryList as entryCategory>
136 <#if entryCategory.vocabularyId == vocabularyId || true>
137 <#assign catName = entryCategory.name>
138 <#if catName==CATEGORY_HERA_SPA>
139 <#assign checkcategory=1 />
140 </#if>
141 <#if catName==CATEGORY_IR_PRICE>
142 <#assign checkcategory=1 />
143 </#if>
144
145 <div class="mr-2 d-inline gruppo-color-bg white px-1 py-0 py-lg-1 py-md-1 ${catName?lower_case}">
146 ${catName}
147 </div>
148 </#if>
149 </#list>
150 </div>
151
152 <h3 class="titlesize bigger black letter-spacing-sm bolder"> ${contentTitle}</h3>
153 <#if contentSummary?? && contentSummary?has_content>
154 <div class="d-none d-lg-block greyish-brown tilesize"> ${contentSummary} </div>
155 <#else>
156 <div class="d-none d-lg-block greyish-brown tilesize">
157 ${description}
158 ${d}
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 <div class="mr-2 d-inline gruppo-color-bg white px-1 py-0 py-lg-1 py-md-1">
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 </div>
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 </div>
226 </a>
227 </div>
228
229 </#list>
230 </#if>
231</div>
232
233
234<script>
235 $(document).ready(function () {
236 var url = window.location.href;
237 if (url.indexOf("/-/")>=0){
238 var recoverurl=localStorage.getItem("reindexcomunicati");
239 $(".reindexlink").attr("href",recoverurl);
240 }else{
241 localStorage.setItem("reindexcomunicati", url);
242 }
243 });
244</script>
Aggregatore Risorse
Aggregatore Risorse
22/02/2016
"Un Pozzo di Scienza" compie 10 anni e mette al lavoro i cervelli dei ragazzi per cambiare il mondo
Partito da Modena lunedì 22 febbraio "Un Pozzo di Scienza" che festeggia l'anniversario con un'edizione interamente dedicata al potere rivoluzionario delle idee. Oltre 14.000 studenti coinvolti lo scorso anno in Emilia-Romagna.

Risparmiamo energia, insieme.
Il sito è in modalità risparmio energetico per ridurre i consumi, basta un click per ripartire.
Clicca in un punto qualsiasi per continuare a navigare