Une erreur s'est produite en traitant le calibre.
No signature of method getDate matches the arguments
1<#-- 
2Web content templates are used to lay out the fields defined in a web 
3content structure. 
4 
5Please use the left panel to quickly add commonly used variables. 
6Autocomplete is also available and can be invoked by typing "${". 
7--> 
8 
9 
10<style> 
11#cont-notizie ol >li p{ 
12	font-family: source-sans-pro, sans-serif; 
13    font-weight: normal; 
14    font-size: 14px; 
15    line-height: 20px; 
16
17</style> 
18 
19 
20<#assign liferay_ui = taglibLiferayHash["/WEB-INF/tld/liferay-ui.tld"] /> 
21 
22<div class="clearfix  cont-titolo-2"> 
23						<h1 class="Titoli nero f_left">News</h1> 
24</div> 
25<#assign inizioUrlCorrente> ${currentURL}</#assign> 
26<#if  inizioUrlCorrente?index_of("?") gt  0 > 
27<#assign inizioUrlCorrente> ${inizioUrlCorrente?substring(0, inizioUrlCorrente?index_of("?"))}</#assign> 
28</#if> 
29 
30<div id="cont-notizie"> 
31<ol> 
32	<#list entries as entry> 
33		<#assign assetRenderer = entry.getAssetRenderer() /> 
34 
35		<#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry) /> 
36 
37    <#assign viewUrlTitle = assetRenderer.getUrlTitle()/> 
38    <#assign groupId = assetRenderer.getGroupId()/> 
39	<#assign articleId =  assetRenderer.getArticle().getArticleId() /> 
40	<#assign urlTitle  = assetRenderer.getArticle().getUrlTitle() /> 
41	<#assign link = "${inizioUrlCorrente}_det/-/journal_content/56/${groupId}/${urlTitle}"/> 
42		<#if assetLinkBehavior != "showFullContent"> 
43			<#assign viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, viewURL) /> 
44		</#if> 
45 
46 
47        			<div class="lfr-meta-actions asset-actions"> 
48 
49 
50        				<@getEditIcon /> 
51        			</div> 
52 
53 
54 
55      <#assign docXml = saxReaderUtil.read(entry.getAssetRenderer().getArticle().getContentByLocale(locale)) /> 
56 
57      <#assign fieldDenominazione = docXml.valueOf("//dynamic-element[@name='denominazione']/dynamic-content/text()") /> 
58	  <#assign fieldDescrizioneBreve = docXml.valueOf("//dynamic-element[@name='descrizioneBreve']/dynamic-content/text()") /> 
59	  <#assign fieldAutore = docXml.valueOf("//dynamic-element[@name='autore']/dynamic-content/text()") /> 
60	  <!--#assign fieldDataPubblicazione = docXml.valueOf("//dynamic-element[@name='dataPubblicazione']/dynamic-content/text()") /--> 
61	  <#assign dateFormat = "dd/MM/yyyy" />  
62	  <#assign dateFormatSmall = "yyyy/MM/dd" />  
63	   	<#if fieldDenominazione?trim == ""> 
64			<#assign fieldDenominazione = urlTitle /> 
65		</#if> 
66	  <li class="Titoli-news Titoli-news-home-19" > 
67		<a class="nonblock" href="${link}"> 
68			<span style="font-family: source-sans-pro, sans-serif;font-weight: 600;line-height: 21px;">${fieldDenominazione}</span> 
69		</a> 
70		 
71		 
72		<#if fieldDescrizioneBreve!=""> 
73			<p>${fieldDescrizioneBreve}</p> 
74		</#if> 
75		 
76		<#if fieldAutore!=""> 
77		<p><strong><@liferay.language key="msg.tpl.news.inserito-da" />: </strong>${fieldAutore}</p> 
78		</#if> 
79		 
80		<p><strong><@liferay.language key="msg.tpl.common.data-pubblicazioneUp" />: </strong> 
81				<time pubdate="pubdate" datetime="${dateUtil.getDate(entry.getPublishDate(), dateFormat, locale)}">${dateUtil.getDate(entry.getPublishDate(), dateFormat, locale)}</time> 
82		</p> 
83 
84		<div class="separator"></div> 
85	  </li> 
86 
87	</#list> 
88  </ol> 
89</div> 
90 
91 
92<#macro getEditIcon> 
93	<#if assetRenderer.hasEditPermission(themeDisplay.getPermissionChecker())> 
94		<#assign redirectURL = renderResponse.createRenderURL() /> 
95 
96		${redirectURL.setParameter("struts_action", "/asset_publisher/add_asset_redirect")} 
97		${redirectURL.setWindowState("pop_up")} 
98 
99		<#assign editPortletURL = assetRenderer.getURLEdit(renderRequest, renderResponse, windowStateFactory.getWindowState("pop_up"), redirectURL) /> 
100 
101		<#if validator.isNotNull(editPortletURL)> 
102			<#assign title = languageUtil.format(locale, "edit-x", htmlUtil.escape(assetRenderer.getTitle(locale))) /> 
103 
104			<@liferay_ui["icon"] 
105				image="edit" 
106				message=title 
107				url="javascript:Liferay.Util.openWindow({dialog: {width: 960}, id:'" + renderResponse.getNamespace() + "editAsset', title: '" + title + "', uri:'" + htmlUtil.escapeURL(editPortletURL.toString()) + "'});" 
108			/> 
109		</#if> 
110	</#if> 
111</#macro> 
112 
113 
114 
115 
116<#macro getRelatedAssets> 
117	<#if enableRelatedAssets == "true"> 
118		<@liferay_ui["asset-links"] 
119			assetEntryId=entry.getEntryId() 
120		/> 
121	</#if> 
122</#macro>