Si è verificato un errore nell'elaborarazione del modello.
Error while loading tag library for URI "/WEB-INF/tld/liferay-ui.tld" from TLD location "servletContext:/WEB-INF/tld/liferay-ui.tld"; see cause exception.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign liferay_ui = taglibLiferayHas...  [in template "20154#20194#74904" at line 1, column 1]
----
1<#assign liferay_ui = taglibLiferayHash["/WEB-INF/tld/liferay-ui.tld"] /> 
2<div class="widget-last-contents"> 
3<#list entries as entry> 
4	<#assign entry = entry /> 
5	<#assign assetRenderer = entry.getAssetRenderer() /> 
6	<#assign entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) /> 
7	<#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry) /> 
8 
9	<#if assetLinkBehavior != "showFullContent"> 
10		<#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry, true) /> 
11	</#if> 
12<article class="content-entry content-entry--news content-entry--news--loop"> 
13	<div class="asset-abstract"> 
14		<div class="lfr-meta-actions asset-actions"> 
15			<@getPrintIcon /> 
16			<@getFlagsIcon /> 
17			<@getEditIcon /> 
18		</div> 
19 
20		<div class="content-entry-date"> 
21           <i class="fa fa-clock-o"></i> <@getMetadataField fieldName="publish-date" /> 
22 
23        </div> 
24		<header> 
25			<h1 class="content-entry-title"> 
26			  <a href="${viewURL}" title="Mostra ${entryTitle}"> 
27				<i class="content-entry__icon fa fa-newspaper-o "></i> 
28				<span>${entryTitle}</span> 
29			  </a> 
30			 </h1> 
31		</header> 
32		<@getMetadataField fieldName="tags" /> 
33		<@getMetadataField fieldName="view-count" /> 
34 
35		<div class="asset-content"> 
36			<@getSocialBookmarks /> 
37			<!-- 
38			<div class="asset-summary"> 
39				<@getMetadataField fieldName="author" /> 
40				${htmlUtil.escape(assetRenderer.getSummary(locale))} 
41			</div> 
42			--> 
43			<@getRatings /> 
44 
45			<@getRelatedAssets /> 
46 
47			<@getDiscussion /> 
48		</div> 
49	</div> 
50	</article> 
51 
52</#list> 
53</div> 
54<#macro getDiscussion> 
55	<#if validator.isNotNull(assetRenderer.getDiscussionPath()) && (enableComments == "true")> 
56		<br /> 
57 
58		<#assign discussionURL = renderResponse.createActionURL() /> 
59 
60		${discussionURL.setParameter("struts_action", "/asset_publisher/" + assetRenderer.getDiscussionPath())} 
61 
62		<@liferay_ui["discussion"] 
63			className=entry.getClassName() 
64			classPK=entry.getClassPK() 
65			formAction=discussionURL?string 
66			formName="fm" + entry.getClassPK() 
67			ratingsEnabled=enableCommentRatings == "true" 
68			redirect=portalUtil.getCurrentURL(request) 
69			userId=assetRenderer.getUserId() 
70		/> 
71	</#if> 
72</#macro> 
73 
74<#macro getEditIcon> 
75	<#if assetRenderer.hasEditPermission(themeDisplay.getPermissionChecker())> 
76		<#assign redirectURL = renderResponse.createRenderURL() /> 
77 
78		${redirectURL.setParameter("struts_action", "/asset_publisher/add_asset_redirect")} 
79		${redirectURL.setWindowState("pop_up")} 
80 
81		<#assign editPortletURL = assetRenderer.getURLEdit(renderRequest, renderResponse, windowStateFactory.getWindowState("pop_up"), redirectURL)!"" /> 
82 
83		<#if validator.isNotNull(editPortletURL)> 
84			<#assign title = languageUtil.format(locale, "edit-x", entryTitle) /> 
85 
86			<@liferay_ui["icon"] 
87				image="edit" 
88				message=title 
89				url="javascript:Liferay.Util.openWindow({dialog: {width: 960}, id:'" + renderResponse.getNamespace() + "editAsset', title: '" + title + "', uri:'" + htmlUtil.escapeURL(editPortletURL.toString()) + "'});" 
90			/> 
91		</#if> 
92	</#if> 
93</#macro> 
94 
95<#macro getFlagsIcon> 
96	<#if enableFlags == "true"> 
97		<@liferay_ui["flags"] 
98			className=entry.getClassName() 
99			classPK=entry.getClassPK() 
100			contentTitle=entry.getTitle(locale) 
101			label=false 
102			reportedUserId=entry.getUserId() 
103		/> 
104	</#if> 
105</#macro> 
106 
107<#macro getMetadataField 
108	fieldName 
109
110	<#if stringUtil.split(metadataFields)?seq_contains(fieldName)> 
111		<span class="metadata-entry metadata-"${fieldName}"> 
112			<#assign dateFormat = "dd MMM yyyy - HH:mm:ss" /> 
113 
114			<#if fieldName == "author"> 
115				<@liferay.language key="by" /> ${portalUtil.getUserName(assetRenderer.getUserId(), assetRenderer.getUserName())} 
116			<#elseif fieldName == "categories"> 
117				<@liferay_ui["asset-categories-summary"] 
118					className=entry.getClassName() 
119					classPK=entry.getClassPK() 
120					portletURL=renderResponse.createRenderURL() 
121				/> 
122			<#elseif fieldName == "create-date"> 
123				${dateUtil.getDate(entry.getCreateDate(), dateFormat, locale)} 
124			<#elseif fieldName == "expiration-date"> 
125				${dateUtil.getDate(entry.getExpirationDate(), dateFormat, locale)} 
126			<#elseif fieldName == "modified-date"> 
127				${dateUtil.getDate(entry.getModifiedDate(), dateFormat, locale)} 
128			<#elseif fieldName == "priority"> 
129				${entry.getPriority()} 
130			<#elseif fieldName == "publish-date"> 
131				${dateUtil.getDate(entry.getPublishDate(), dateFormat, locale)} 
132			<#elseif fieldName == "tags"> 
133				<@liferay_ui["asset-tags-summary"] 
134					className=entry.getClassName() 
135					classPK=entry.getClassPK() 
136					portletURL=renderResponse.createRenderURL() 
137				/> 
138			<#elseif fieldName == "view-count"> 
139				<@liferay_ui["icon"] 
140					image="history" 
141				/> 
142 
143				${entry.getViewCount()} <@liferay.language key="views" /> 
144			</#if> 
145		</span> 
146	</#if> 
147</#macro> 
148<#macro getPrintIcon> 
149	<#if enablePrint == "true" > 
150		<#assign printURL = renderResponse.createRenderURL() /> 
151 
152		${printURL.setParameter("struts_action", "/asset_publisher/view_content")} 
153		${printURL.setParameter("assetEntryId", entry.getEntryId()?string)} 
154		${printURL.setParameter("viewMode", "print")} 
155		${printURL.setParameter("type", entry.getAssetRendererFactory().getType())} 
156 
157		<#if (validator.isNotNull(assetRenderer.getUrlTitle()))> 
158			<#if (assetRenderer.getGroupId() != themeDisplay.getScopeGroupId())> 
159				${printURL.setParameter("groupId", assetRenderer.getGroupId()?string)} 
160			</#if> 
161 
162			${printURL.setParameter("urlTitle", assetRenderer.getUrlTitle())} 
163		</#if> 
164 
165		${printURL.setWindowState("pop_up")} 
166 
167		<@liferay_ui["icon"] 
168			image="print" 
169			message="print" 
170			url="javascript:Liferay.Util.openWindow({id:'" + renderResponse.getNamespace() + "printAsset', title: '" + languageUtil.format(locale, "print-x-x", ["hide-accessible", entryTitle]) + "', uri: '" +  
171htmlUtil.escapeURL(printURL.toString()) + "'});" 
172		/> 
173	</#if> 
174</#macro> 
175 
176<#macro getRatings> 
177	<#if (enableRatings == "true")> 
178		<div class="asset-ratings"> 
179			<@liferay_ui["ratings"] 
180				className=entry.getClassName() 
181				classPK=entry.getClassPK() 
182			/> 
183		</div> 
184	</#if> 
185</#macro> 
186 
187<#macro getRelatedAssets> 
188	<#if enableRelatedAssets == "true"> 
189		<@liferay_ui["asset-links"] 
190			assetEntryId=entry.getEntryId() 
191		/> 
192	</#if> 
193</#macro> 
194 
195<#macro getSocialBookmarks> 
196	<#if enableSocialBookmarks == "true"> 
197		<@liferay_ui["social-bookmarks"] 
198			displayStyle="${socialBookmarksDisplayStyle}" 
199			target="_blank" 
200			title=entry.getTitle(locale) 
201			url=viewURL 
202		/> 
203	</#if> 
204</#macro>