novetats

S'ha produït un error mentre es processava la plantilla.
The following has evaluated to null or missing:
==> entry.getAssetRenderer()  [in template "10155#10193#352924289" at line 17, column 42]

----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: assetRenderer = entry.getAssetRenderer()  [in template "10155#10193#352924289" at line 17, column 26]
----
1<#-- Se incluye el ADT "Macros comunes GVA de publicador de contenidos" --> 
2<#include "${templatesPath}/GVA-MACROS-PUBLICADORES" /> 
3 
4<#assign webServerServletTokenUtil = serviceLocator.findService("com.liferay.portal.kernel.webserver.WebServerServletTokenUtil")> 
5<#if !entries?has_content> 
6	<#if !themeDisplay.isSignedIn()> 
7		${renderRequest.setAttribute("PORTLET_CONFIGURATOR_VISIBILITY", true)} 
8	</#if> 
9 
10	<div class="alert alert-info"> 
11		<@liferay_ui["message"] key="there-are-no-results" /> 
12	</div> 
13</#if> 
14 
15<div class="row mb-4"> 
16	<#list entries as entry> 
17		<#assign assetRenderer = entry.getAssetRenderer() 
18		entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) 
19		className = assetRenderer.getClassName() 
20		viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, assetRenderer, entry, !stringUtil.equals(assetLinkBehavior, "showFullContent")) 
21		/> 
22 
23		<#if className == "com.liferay.journal.model.JournalArticle"> 
24			<#assign article = assetRenderer.getArticle() 
25			img = article.getSmallImageURL() 
26			/> 
27 
28			<#if !img?has_content> 
29				<#assign img= "/image/journal/article?img_id=" + article.getSmallImageId() + "&t=" + webServerServletTokenUtil.getToken(article.getSmallImageId()) /> 
30			</#if> 
31		</#if> 
32 
33		<div class="asset-item asset-item-small-image col-lg-3 col-md-6 col-12"> 
34			<@getEditIcon /> 
35 
36			<a class="d-flex flex-column justify-content-between h-100" href="${viewURL}" title="${entryTitle}"> 
37				<div class="thumbmas"> 
38					<img class="w-100" src="${img}" alt=""> 
39				</div> 
40				<div class="titlemas font-weight-bold"> 
41					<p>${entryTitle}</p> 
42				</div> 
43			</a> 
44		</div> 
45	</#list> 
46</div> 
— 20 articles per pàgina
Mostrant 1 - 20 de 90 resultats