Si è verificato un errore nell'elaborarazione del modello.
Java method "static com.liferay.asset.kernel.service.AssetCategoryServiceUtil.getCategory(long)" threw an exception; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign currentCat = AssetCategorySer...  [in template "10154#10192#19096408" at line 15, column 17]
----
1<#setting locale="it_IT"> 
2 
3<#assign siteBaseURL = themeDisplay.getPortalURL() />  
4 
5<#assign DLFileEntryLocalServiceUtil = staticUtil["com.liferay.document.library.kernel.service.DLFileEntryLocalServiceUtil"] /> 
6<#assign AssetCategoryLocalServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetCategoryLocalServiceUtil"]> 
7 
8<#assign LayoutLocalServiceUtil = staticUtil["com.liferay.portal.kernel.service.LayoutLocalServiceUtil"] /> 
9<#assign AssetCategoryServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetCategoryServiceUtil"] /> 
10<#assign childCategoryId = 0 /> 
11<#assign parentCategoryId = 0 /> 
12<#assign values = portletPreferences['queryValues0'] /> 
13<#if values?has_content> 
14	<#list values as value> 
15		<#assign currentCat = AssetCategoryServiceUtil.getCategory(value?number) /> 
16		<#assign AssetVocabularyServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetVocabularyServiceUtil"]> 
17		<#assign assetVocabulary = AssetVocabularyServiceUtil.getVocabulary(currentCat.getVocabularyId()) /> 
18		<#if assetVocabulary.getName() == "Temi"> 
19			<#if currentCat.getParentCategory()??> 
20				<#assign childCategoryId = currentCat.getCategoryId()/> 
21				<#assign parentCategoryId = currentCat.getParentCategory().getCategoryId() /> 
22			<#else> 
23				<#assign parentCategoryId = currentCat.getCategoryId()/> 
24			</#if> 
25		</#if> 
26	</#list> 
27</#if> 
28 
29<#if !entries?has_content> 
30	<#if themeDisplay.isSignedIn()> 
31		<div class="alert alert-info"> 
32			<@liferay.language key="there-are-no-menu-items-to-display" /> 
33		</div> 
34	</#if> 
35</#if> 
36 
37<#if entries?has_content> 
38	<#assign currentPageName = themeDisplay.getLayout().getName(locale) /> 
39 
40	<#assign iconTema = "" /> 
41	<#assign headerPageName = "" /> 
42	<#assign headerPageURL = "" /> 
43	<#assign subHeaderPageName = "" /> 
44	<#assign subHeaderPageURL = "" /> 
45	<#assign sottotema = false /> 
46	<#assign hasSubSottotema = false /> 
47 
48	<#assign temaPage = ""/> 
49	<#assign temaPageProva = ""/> 
50 
51	<#assign layout = themeDisplay.getLayout() /> 
52	<#if layout.getParentLayoutId() != 0 > 
53		<#assign parentLayout = LayoutLocalServiceUtil.getLayout(layout.getGroupId(), false, layout.getParentLayoutId()) /> 
54 
55		<#if parentLayout.getParentLayoutId() != 0 && parentLayout.getName(locale) != "TEMI E SERVIZI"> 
56 
57			<#assign temaPage = parentLayout /> 
58 
59			<#assign sottotema = true /> 
60			<#assign headerPageName = parentLayout.getName(locale) /> 
61			<#assign headerPageURL = siteBaseURL + parentLayout.getFriendlyURL() /> 
62 
63			<#assign parentParentLayout = LayoutLocalServiceUtil.getLayout(parentLayout.getGroupId(), false, parentLayout.getParentLayoutId()) /> 
64 
65			<#if parentParentLayout.getParentLayoutId() != 0 && parentParentLayout.getName(locale) != "TEMI E SERVIZI"> 
66				<#assign parentParentParentLayout = LayoutLocalServiceUtil.getLayout(parentParentLayout.getGroupId(), false, parentParentLayout.getParentLayoutId()) /> 
67 
68					<#if parentParentParentLayout.getParentLayoutId() != 0 && parentParentParentLayout.getName(locale) == "TEMI E SERVIZI"> 
69						<#assign iconTema = "rt-icon-" + parentParentLayout.getName(locale)?replace(" ", "")?lower_case /> 
70						<#assign headerPageName = parentParentLayout.getName(locale) /> 
71						<#assign headerPageURL = siteBaseURL + parentParentLayout.getFriendlyURL() /> 
72						<#assign subHeaderPageName = parentLayout.getName(locale) /> 
73						<#assign subHeaderPageURL = siteBaseURL + parentLayout.getFriendlyURL() /> 
74						<#assign hasSubSottotema = true /> 
75 
76					<#assign temaPage = parentParentLayout /> 
77 
78					</#if> 
79			<#else>     
80				<#assign iconTema = "rt-icon-" + parentLayout.getName(locale)?replace(" ", "")?lower_case /> 
81				<#assign headerPageName = parentLayout.getName(locale) /> 
82			</#if> 
83 
84		<#else> 
85			<#assign temaPage = themeDisplay.getLayout() /> 
86 
87			<#assign iconTema = "rt-icon-" + currentPageName?replace(" ", "")?lower_case /> 
88		</#if> 
89 
90	</#if> 
91 
92	<#assign pageAggiornamentiTema = "" /> 
93 
94	<#if temaPage?? && temaPage != ""> 
95		<#if temaPage.getExpandoBridge().hasAttribute("Pagina Aggiornamenti Tema") > 
96			<#assign pageAggiornamentiTema = temaPage.getExpandoBridge().getAttribute("Pagina Aggiornamenti Tema") /> 
97		</#if> 
98	</#if> 
99	<#if pageAggiornamentiTema?? && pageAggiornamentiTema!=""> 
100		<#if childCategoryId?? && childCategoryId != 0> 
101			<#assign pageAggiornamentiTema = pageAggiornamentiTema + "?p_r_p_categoryId=" + childCategoryId /> 
102		<#elseif parentCategoryId?? && parentCategoryId != 0> 
103			<#assign pageAggiornamentiTema = pageAggiornamentiTema + "?p_r_p_categoryId=" + parentCategoryId /> 
104		</#if> 
105	</#if> 
106 
107	<div class="rt-page__content "> 
108		<section class="rt-section rt-section--box rt-section--box-col-3" aria-label="Sezione degli aggiornamenti"> 
109			<div class="rt-section-title-wrapper has-button"> 
110				<h2 class="rt-section-title">Aggiornamenti</h2> 
111				<#if pageAggiornamentiTema?? && pageAggiornamentiTema != "" > 
112					<a href="${pageAggiornamentiTema}" title="Vedi tutti gli aggiornamenti" aria-label="Vedi tutti gli aggiornamenti" class="rt-btn rt-btn-light rt-btn-view"> 
113						Vedi tutti 
114						<i aria-hidden="true" class="far fa-plus"></i> 
115					</a> 
116				</#if> 
117			</div> 
118 
119			<div class="rt-section__wrapper"> 
120				<#if entries?has_content>  
121					<#list entries as curEntry> 
122						<#assign assetRenderer = curEntry.getAssetRenderer() /> 
123						<#assign className = assetRenderer.getClassName() /> 
124						 
125						<#assign rendererURL = siteBaseURL + "/-/" + assetRenderer.getUrlTitle() /> 
126 
127						<#if className = "com.liferay.journal.model.JournalArticle" > 
128							<#assign article = assetRenderer.getArticle() />  
129							<#if article?? > 
130								<#assign docXml = saxReaderUtil.read(article.getContent()) /> 
131								 
132								<#assign titleText = curEntry.getTitle(locale) /> 
133								<#assign titleLength = titleText?length /> 
134 
135								<#if (titleLength > 98) > 
136									<#assign titleText = titleText?substring(0,98) /> 
137									<#assign titleText = titleText + "..." /> 
138								</#if> 
139								<div class="rt-box rt-box--update"> 
140									<div class="rt-box__header"> 
141										<div class="rt-box__wrapper"> 
142											<#assign categoryList = AssetCategoryLocalServiceUtil.getAssetEntryAssetCategories(curEntry.getEntryId()) /> 
143											<#assign temi = [] /> 
144											<#assign parentCategory = "" /> 
145											<#assign childCategory = "" /> 
146 
147											<#list categoryList as category> 
148												<#assign AssetVocabularyServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetVocabularyServiceUtil"]> 
149												<#assign assetVocabulary = AssetVocabularyServiceUtil.getVocabulary(category.getVocabularyId()) /> 
150												<#if assetVocabulary.getName() == "Temi"> 
151													<#assign temi = temi + [category] /> 
152													<#if parentCategoryId == 0> 
153														<#if category.getParentCategory()??> 
154															<#assign childCategory = category.getName()/> 
155															<#assign parentCategory = category.getParentCategory().getName()/> 
156														<#else> 
157															<#assign parentCategory = category.getName()/> 
158														</#if> 
159													<#else> 
160														<#if category.getParentCategory()?? && (category.getParentCategory().getCategoryId() == parentCategoryId)> 
161															<#assign childCategory = category.getName()/> 
162															<#assign parentCategory = category.getParentCategory().getName()/> 
163														<#elseif category.getCategoryId() == parentCategoryId > 
164															<#assign parentCategory = category.getName()/> 
165														</#if> 
166													</#if> 
167												</#if> 
168											</#list> 
169 
170											<#if (parentCategory?? && parentCategory != "") || (childCategory?? && childCategory != "")> 
171												<div class="rt-box__category"> 
172													<#if parentCategory?? && parentCategory != ""> 
173														${parentCategory} 
174													</#if> 
175													<#if childCategory?? && childCategory != ""> 
176														<i class="fas fa-circle"></i> 
177														${childCategory} 
178													</#if> 
179												</div> 
180											</#if> 
181 
182											<div class="rt-box__title"> 
183												<a title="Vai alla pagina dell'aggiornamento" aria-label="Vai alla pagina dell'aggiornamento" href="${rendererURL}"> 
184													${titleText} 
185												</a> 
186											</div> 
187										</div> 
188 
189										<div class="rt-box__icon"> 
190											 
191											 
192 
193											<#assign TipologiaAggiornamento = docXml.valueOf("//dynamic-element[@name='TipologiaAggiornamento']/dynamic-content/text()") /> 
194											 
195											<#if TipologiaAggiornamento?? && TipologiaAggiornamento != ""> 
196 
197												<#if TipologiaAggiornamento?? && TipologiaAggiornamento != "" && TipologiaAggiornamento?upper_case == 'GENERICO'> 
198													<div class="rt-box__icon"> 
199														<div class="rt-box__icon-label"></div> 
200														 
201														<#if assetRenderer.getThumbnailPath(renderRequest)?? > 
202															<div class="rt-box__thumb" style="background-image: url('${assetRenderer.getThumbnailPath(renderRequest)}');"></div> 
203														<#else> 
204															<#assign immagineCopertina = docXml.valueOf("//dynamic-element[@name='ImmagineCopertina']/dynamic-content/text()") /> 
205															<#if immagineCopertina?? && immagineCopertina != ""> 
206																<#assign json = jsonFactoryUtil.createJSONObject(immagineCopertina) /> 
207 
208																<#assign nameImg = json.getString("name") /> 
209																<#assign fileEntryId = json.getLong("fileEntryId") /> 
210																<#assign altImg = json.getString("alt") /> 
211																<#assign fileUrl = "" /> 
212																<#assign uuiD = json.getString("uuid") /> 
213																<#assign groupId = json.getLong("groupId") /> 
214																<#if fileEntryId != 0> 
215																	<#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />  
216																	<#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
217																	<div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div> 
218																<#else> 
219																	<#if groupId != 0 && uuiD != ""> 
220																		<#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuiD,groupId) />  
221																		 
222																		<#if fileEntry?? > 
223																			<#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
224																			<div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div> 
225																		<#else> 
226																			<i aria-hidden="true" class="far fa-bell"></i> 
227																		</#if> 
228																	<#else> 
229																	<i aria-hidden="true" class="far fa-bell"></i> 
230																	</#if> 
231																 
232																</#if> 
233															<#else> 
234																<i aria-hidden="true" class="far fa-bell"></i> 
235															</#if> 
236														</#if> 
237													</div> 
238												</#if> 
239 
240												<#if TipologiaAggiornamento?? && TipologiaAggiornamento != "" && TipologiaAggiornamento?upper_case == 'AVVISO'> 
241													<div class="rt-box__icon"> 
242														<div class="rt-box__icon-label">AVVISO</div> 
243														 
244														<#if assetRenderer.getThumbnailPath(renderRequest)?? > 
245															<div class="rt-box__thumb" style="background-image: url('${assetRenderer.getThumbnailPath(renderRequest)}');"></div> 
246														<#else> 
247															<#assign immagineCopertina = docXml.valueOf("//dynamic-element[@name='ImmagineCopertina']/dynamic-content/text()") /> 
248															<#if immagineCopertina?? && immagineCopertina != ""> 
249																<#assign json = jsonFactoryUtil.createJSONObject(immagineCopertina) /> 
250 
251																<#assign nameImg = json.getString("name") /> 
252																<#assign fileEntryId = json.getLong("fileEntryId") /> 
253																<#assign altImg = json.getString("alt") /> 
254																<#assign fileUrl = "" /> 
255																<#assign uuiD = json.getString("uuid") /> 
256																<#assign groupId = json.getLong("groupId") /> 
257																<#if fileEntryId != 0> 
258																	<#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />  
259																	<#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
260																	<div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div> 
261																<#else> 
262																	<#if groupId != 0 && uuiD != ""> 
263																		<#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuiD,groupId) />  
264																		 
265																		<#if fileEntry?? > 
266																			<#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
267																			<div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div> 
268																		<#else> 
269																		<i aria-hidden="true" class="far fa-bell"></i> 
270																		</#if> 
271																	<#else> 
272																		<i aria-hidden="true" class="far fa-bell"></i> 
273																	</#if> 
274																 
275																</#if> 
276															<#else> 
277																<i aria-hidden="true" class="far fa-bell"></i> 
278															</#if> 
279														</#if> 
280													</div> 
281												</#if> 
282 
283												<#if TipologiaAggiornamento?? && TipologiaAggiornamento != "" && TipologiaAggiornamento?upper_case == 'PROGETTO'> 
284													<div class="rt-box__icon"> 
285														<div class="rt-box__icon-label">PROGETTO</div> 
286														 
287														<#if assetRenderer.getThumbnailPath(renderRequest)?? > 
288															<div class="rt-box__thumb" style="background-image: url('${assetRenderer.getThumbnailPath(renderRequest)}');"></div> 
289														<#else> 
290															<#assign immagineCopertina = docXml.valueOf("//dynamic-element[@name='ImmagineCopertina']/dynamic-content/text()") /> 
291															<#if immagineCopertina?? && immagineCopertina != ""> 
292																<#assign json = jsonFactoryUtil.createJSONObject(immagineCopertina) /> 
293 
294																<#assign nameImg = json.getString("name") /> 
295																<#assign fileEntryId = json.getLong("fileEntryId") /> 
296																<#assign altImg = json.getString("alt") /> 
297																<#assign fileUrl = "" /> 
298																<#assign uuiD = json.getString("uuid") /> 
299																<#assign groupId = json.getLong("groupId") /> 
300																<#if fileEntryId != 0> 
301																	<#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />  
302																	<#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
303																	<div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div> 
304																<#else> 
305																	<#if groupId != 0 && uuiD != ""> 
306																		<#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuiD,groupId) />  
307																		 
308																		<#if fileEntry?? > 
309																			<#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
310																			<div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div> 
311																		<#else> 
312																			<i aria-hidden="true" class="far fa-ruler-triangle"></i> 
313																		</#if> 
314																	<#else> 
315																		<i aria-hidden="true" class="far fa-ruler-triangle"></i> 
316																	</#if> 
317																 
318																</#if> 
319															<#else> 
320																<i aria-hidden="true" class="far fa-ruler-triangle"></i> 
321															</#if> 
322														</#if> 
323													</div> 
324												</#if> 
325 
326												<#if TipologiaAggiornamento?? && TipologiaAggiornamento != "" && TipologiaAggiornamento?upper_case == 'PUBBLICAZIONE'> 
327													<div class="rt-box__icon"> 
328														<div class="rt-box__icon-label">PUBBLICAZIONE</div> 
329														 
330														<#if assetRenderer.getThumbnailPath(renderRequest)?? > 
331															<div class="rt-box__thumb" style="background-image: url('${assetRenderer.getThumbnailPath(renderRequest)}');"></div> 
332														<#else> 
333															<#assign immagineCopertina = docXml.valueOf("//dynamic-element[@name='ImmagineCopertina']/dynamic-content/text()") /> 
334															<#if immagineCopertina?? && immagineCopertina != ""> 
335																<#assign json = jsonFactoryUtil.createJSONObject(immagineCopertina) /> 
336 
337																<#assign nameImg = json.getString("name") /> 
338																<#assign fileEntryId = json.getLong("fileEntryId") /> 
339																<#assign altImg = json.getString("alt") /> 
340																<#assign fileUrl = "" /> 
341																<#assign uuiD = json.getString("uuid") /> 
342																<#assign groupId = json.getLong("groupId") /> 
343																<#if fileEntryId != 0> 
344																	<#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />  
345																	<#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
346																	<div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div> 
347																<#else> 
348																	<#if groupId != 0 && uuiD != ""> 
349																		<#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuiD,groupId) />  
350																		 
351																		<#if fileEntry?? > 
352																			<#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
353																			<div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div> 
354																		<#else> 
355																			<i aria-hidden="true" class="far fa-newspaper"></i> 
356																		</#if> 
357																	<#else> 
358																		<i aria-hidden="true" class="far fa-newspaper"></i> 
359																	</#if> 
360																 
361																</#if> 
362															<#else> 
363																<i aria-hidden="true" class="far fa-newspaper"></i> 
364															</#if> 
365														</#if> 
366													</div> 
367												</#if> 
368 
369												<#if TipologiaAggiornamento?? && TipologiaAggiornamento != "" && TipologiaAggiornamento?upper_case == 'DELIBERA'> 
370													<div class="rt-box__icon"> 
371														<div class="rt-box__icon-label">DELIBERA</div> 
372														 
373														<#if assetRenderer.getThumbnailPath(renderRequest)?? > 
374															<div class="rt-box__thumb" style="background-image: url('${assetRenderer.getThumbnailPath(renderRequest)}');"></div> 
375														<#else> 
376															<#assign immagineCopertina = docXml.valueOf("//dynamic-element[@name='ImmagineCopertina']/dynamic-content/text()") /> 
377															<#if immagineCopertina?? && immagineCopertina != ""> 
378																<#assign json = jsonFactoryUtil.createJSONObject(immagineCopertina) /> 
379 
380																<#assign nameImg = json.getString("name") /> 
381																<#assign fileEntryId = json.getLong("fileEntryId") /> 
382																<#assign altImg = json.getString("alt") /> 
383																<#assign fileUrl = "" /> 
384																<#assign uuiD = json.getString("uuid") /> 
385																<#assign groupId = json.getLong("groupId") /> 
386																<#if fileEntryId != 0> 
387																	<#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />  
388																	<#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
389																	<div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div> 
390																<#else> 
391																	<#if groupId != 0 && uuiD != ""> 
392																		<#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuiD,groupId) />  
393																		 
394																		<#if fileEntry?? > 
395																			<#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
396																			<div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div> 
397																		<#else> 
398																			<i aria-hidden="true" class="far fa-file-certificate"></i> 
399																		</#if> 
400																	<#else> 
401																		<i aria-hidden="true" class="far fa-file-certificate"></i> 
402																	</#if> 
403																 
404																</#if> 
405															<#else> 
406																<i aria-hidden="true" class="far fa-file-certificate"></i> 
407															</#if> 
408														</#if> 
409													</div> 
410												</#if> 
411											<#else> 
412												<div class="rt-box__icon"> 
413													<#if assetRenderer.getThumbnailPath(renderRequest)?? > 
414														<div class="rt-box__thumb" style="background-image: url('${assetRenderer.getThumbnailPath(renderRequest)}');"></div> 
415													<#else> 
416														<#assign immagineCopertina = docXml.valueOf("//dynamic-element[@name='ImmagineCopertina']/dynamic-content/text()") /> 
417														<#if immagineCopertina?? && immagineCopertina != ""> 
418															<#assign json = jsonFactoryUtil.createJSONObject(immagineCopertina) /> 
419 
420															<#assign nameImg = json.getString("name") /> 
421															<#assign fileEntryId = json.getLong("fileEntryId") /> 
422															<#assign altImg = json.getString("alt") /> 
423															<#assign fileUrl = "" /> 
424															<#assign uuiD = json.getString("uuid") /> 
425															<#assign groupId = json.getLong("groupId") /> 
426															<#if fileEntryId != 0> 
427																<#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />  
428																<#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
429																<div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div> 
430															<#else> 
431																<#if groupId != 0 && uuiD != ""> 
432																	<#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuiD,groupId) />  
433																	 
434																	<#if fileEntry?? > 
435																		<#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
436																		<div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div> 
437																	</#if> 
438																</#if> 
439															 
440															</#if> 
441														</#if> 
442													</#if> 
443												</div> 
444											</#if>	 
445										</div> 
446									</div> 
447 
448									<div class="rt-box__text"> 
449										<#assign summaryText = curEntry.getSummary(locale)?replace("&lt;/strong>","")?replace("&lt;storng>","")?replace("<strong>","")?replace("</strong>", "") /> 
450										<#if summaryText?? && summaryText?has_content> 
451											<#if (summaryText?length > 200) > 
452												<#assign summaryText = summaryText?substring(0,200) /> 
453												<#assign summaryText = summaryText + "..." /> 
454											</#if> 
455											<p>${summaryText}</p> 
456										<#else> 
457											<#assign TitoloSecondario = docXml.valueOf("//dynamic-element[@name='TitoloSecondario']/dynamic-content/text()") /> 
458											<#if TitoloSecondario?? && TitoloSecondario?has_content > 
459												<#if (TitoloSecondario?length > 200) > 
460													<#assign TitoloSecondario = TitoloSecondario?substring(0,200) /> 
461													<#assign TitoloSecondario = TitoloSecondario + "..." /> 
462												</#if> 
463												<p>${TitoloSecondario}</p> 
464											</#if> 
465										</#if> 
466									</div> 
467 
468									<div class="rt-box__footer"> 
469										<#if article.modifiedDate?? && article.modifiedDate?has_content> 
470											<div class="rt-box__date-published">Aggiornato al ${article.modifiedDate?string["dd.MM.yyyy"]}</div> 
471										</#if> 
472										<#if article.expirationDate?? && article.expirationDate?has_content> 
473											<div class="rt-box__date-expires">Scade il ${article.expirationDate?string["dd.MM.yyyy"]}</div> 
474										</#if> 
475									</div> 
476								</div> 
477							</#if> 
478						</#if> 
479					</#list> 
480				</#if> 
481			</div> 
482		</section> 
483	</div> 
484</#if> 

Popolazione scolastica Toscana