Agrégateur de contenus Agrégateur de contenus

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

 

Instituto Nacional de Estadística Ministerio de Hacienda y Administraciones Públicas Instituto Cantabro de Estadística Instituto Nacional de Administración Pública