Publicador de contenidos

Se ha producido un error al procesar la plantilla.
Failed to "?eval" string with this error:

---begin-message---
Syntax error in ?eval-ed string in line 1, column 2:
Encountered ")", but was expecting one of:
    <STRING_LITERAL>
    <RAW_STRING>
    "false"
    "true"
    <INTEGER>
    <DECIMAL>
    "."
    "+"
    "-"
    "!"
    "["
    "("
    "{"
    <ID>
---end-message---

The failing expression:
==> img?eval  [in template "20154#20194#26902" at line 103, column 60]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign imgName = img?eval.title  [in template "20154#20194#26902" at line 103, column 41]
----
1<style> 
2	.clearfix.lfr-pagination { 
3		    display: flex; 
4			justify-content: center; 
5			align-items: center; 
6
7	.taglib-page-iterator .lfr-pagination-config { 
8		line-height: 0px; 
9		width: 50%; 
10		display: flex; 
11		align-items: center; 
12
13	.lfr-pagination-delta-selector { 
14		color: #ffffff; 
15		margin-left: 20px; 
16		display: flex; 
17		align-items: center; 
18
19	small.search-results { 
20		color: #ffffff; 
21		width:50%;		 
22
23	.clearfix.lfr-pagination .pagination{ 
24		display: flex; 
25		padding-left: 0; 
26		margin: 20px 0; 
27		border-radius: 4px; 
28		width: 40%; 
29
30</style> 
31 
32<!--- Nuevo cartas del presidente --> 
33<#--<#assign liferay_ui = taglibLiferayHash["/WEB-INF/tld/liferay-ui.tld"] /> 
34<#assign liferay_util = taglibLiferayHash["/WEB-INF/tld/liferay-util.tld"] /> 
35 
36<#assign aui = taglibLiferayHash["/WEB-INF/tld/aui.tld"] />--> 
37<#-- ThemeDisplay themeDisplay = (ThemeDisplay) request.getAttribute(WebKeys.THEME_DISPLAY); --> 
38<!-- comprobar login (boolean) --> 
39<#assign signedIn = themeDisplay.isSignedIn()> 
40<!--<#if signedIn> 
41    logadooo 
42<#else> 
43    no logado 
44</#if> --> 
45 
46 
47 
48<div class="container-fluid"> 
49	<#if entries?has_content> 
50		<section id="formacion" class="cont_generico"> 
51			<h1>noticias</h1> 
52			<ul> 
53				<#list entries as curEntry> 
54					<#assign renderer = curEntry.getAssetRenderer()> 
55					<#assign assetRenderer = curEntry.getAssetRenderer() /> 
56					 
57					<#assign link = renderer.getURLViewInContext(renderRequest, renderResponse, '') /> 
58		 
59					<#assign journalArticle = renderer.getArticle()> 
60					<#assign document = saxReaderUtil.read(journalArticle.getContentByLocale(locale.toString()))> 
61					<#assign entryTitle = htmlUtil.escape(renderer.getTitle(locale)) /> 
62					<#assign entryResumen = htmlUtil.escape(renderer.getSummary()) /> 
63					<#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, renderer, curEntry, !stringUtil.equals(assetLinkBehavior, "showFullContent")) /> 
64 
65					<!-- URL --> 
66					<#--<#assign viewURL = renderResponse.createRenderURL() /> 
67					${viewURL.setParameter("struts_action", "/asset_publisher/view_content")} 
68					${viewURL.setParameter("assetEntryId", entry.getEntryId()?string)} 
69					${viewURL.setParameter("type", entry.getAssetRendererFactory().getType())} 
70					${viewURL.setParameter("redirect", portalUtil.getCurrentURL(request))} 
71					${viewURL.setWindowState("maximized")}							 
72 
73					<#if (validator.isNotNull(assetRenderer.getUrlTitle()))> 
74						<#if (assetRenderer.getGroupId() != themeDisplay.getScopeGroupId())> 
75							${viewURL.setParameter("groupId", assetRenderer.getGroupId()?string)} 
76						</#if> 
77						${viewURL.setParameter("urlTitle", assetRenderer.getUrlTitle())} 
78					</#if>							 
79 
80					<#if assetLinkBehavior != "showFullContent"> 
81						<#assign viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, viewURL) /> 
82					</#if> --> 
83 
84					 
85					<!-- Datos del evento --> 
86					<!--<#assign img = document.valueOf("//dynamic-element[@name='ImagenDetalle']/dynamic-content/text()") />--> 
87					<#assign subti = document.valueOf("//dynamic-element[@name='Subtitulo']/dynamic-content/text()") /> 
88					<#assign img = document.valueOf("//dynamic-element[@name='ImagenDetalle']/dynamic-content/text()") /> 
89					<#assign AltImagenDetalle = document.valueOf("//dynamic-element[@name='ImagenDetalleAlt']/dynamic-content/text()") /> 
90					<#assign desc = document.valueOf("//dynamic-element[@name='Descripcion']/dynamic-content/text()") /> 
91					<#assign inf = document.valueOf("//dynamic-element[@name='Informacion']/dynamic-content/text()") /> 
92							 
93					<!-- es publico --> 
94					<#if signedIn> 
95						<div class="lfr-meta-actions asset-actions"> 
96							<@getEditIcon /> 
97						</div> 
98					</#if>					 
99					<li> 
100    						<figure> 
101								<#if AltImagenDetalle?? && AltImagenDetalle !="{}"> 
102									<#if AltImagenDetalle?has_content> 
103                                        <#assign imgName = img?eval.title /> 
104                                        <#assign imgGroupId = img?eval.groupId /> 
105                                        <#assign imgUuid = img?eval.uuid /> 
106                                        <#--<#assign imgAlt = img?eval.alt />--> 
107										<img title="Imagen ${AltImagenDetalle}" alt="Imagen ${AltImagenDetalle}" src="/documents/${imgGroupId}/0/${imgName}/${imgUuid}"> 
108									<#else> 
109										<#if img?? && img !="{}" && img?has_content> 
110											<#--imagen : ${img}--> 
111											<#assign imgName = img?eval.title /> 
112											<#assign imgGroupId = img?eval.groupId /> 
113											<#assign imgUuid = img?eval.uuid /> 
114											<#--<#assign imgAlt = img?eval.alt />--> 
115											<img title="Imagen decorativa" alt="Imagen decorativa" src="/documents/${imgGroupId}/0/${imgName}/${imgUuid}"> 
116										</#if>                                         
117									</#if>	 
118								<#else> 
119                                        <#assign imgName = img?eval.title /> 
120                                        <#assign imgGroupId = img?eval.groupId /> 
121                                        <#assign imgUuid = img?eval.uuid /> 
122                                        <#--<#assign imgAlt = img?eval.alt />-->	 
123										<img title="Imagen decorativa" alt="Imagen decorativa" src="/documents/${imgGroupId}/0/${imgName}/${imgUuid}"> 
124								</#if>	 
125    						</figure> 
126 
127							<div class="detalle leermas"> 
128							<!-- class="detalle_servicio" --> 
129								<h3><a data-senna-off="true" href="${viewURL}">${curEntry.getTitle(locale)}</a></h3> 
130							<div class="crop"> 
131							    <div class="texto"> 
132								    ${desc} 
133        							<#if inf?has_content> 
134            							<div class="info"> 
135        	    							<p>${inf}</p> 
136            							</div> 
137        	                        </#if>  								     
138							    </div>	 
139							</div> 
140  							 
141						</div> 
142					</li>	 
143				</#list> 
144			</ul> 
145        </section> 
146	</#if> 
147</div> 
148 
149<#macro getEditIcon> 
150    <#if renderer.hasEditPermission(themeDisplay.getPermissionChecker())> 
151        <#assign editPortletURL = renderer.getURLEdit(renderRequest, renderResponse, windowStateFactory.getWindowState("NORMAL"), themeDisplay.getURLCurrent())!"" /> 
152        <#if validator.isNotNull(editPortletURL)> 
153            <#assign title = languageUtil.format(locale, "edit-x", entryTitle, false) /> 
154            <@liferay_ui["icon"] 
155                cssClass="icon-monospaced visible-interaction" 
156                icon="pencil" 
157                markupView="lexicon" 
158                message=title 
159                url=editPortletURL.toString() 
160            /> 
161        </#if> 
162    </#if> 
163</#macro>