Se ha producido un error al procesar la plantilla.
Expression xPathSelector.selectSingleNode(rootElement) is undefined on line 328, column 59 in 10154#10194#619704.
1<style> 
2 
3	#resultados-arte{ 
4		background-color: white; 
5		border-radius: 10px 10px 0 0; 
6
7 
8	#resultados-arte #main-container-title{ 
9		padding: 10px; 
10		font-size: 1em; 
11		background-color: #C53BA6; 
12		color: white; 
13		text-align: center; 
14		border-radius: 10px 10px 0 0; 
15		font-weight: bold; 
16		border-left: 2px solid #C53BA6; 
17		border-right: 2px solid #C53BA6; 
18		border-top: 2px solid #C53BA6; 
19
20 
21	#resultados-arte .main-container-contenido{ 
22		position: relative; 
23		min-height:175px; 
24		width: 97%; 
25		height: auto; 
26		margin: 15px auto; 
27		border-radius: 0 30px 0 10px; 
28		box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); 
29
30 
31	#resultados-arte .container-info{ 
32		width: 70%; 
33		display: inline-block; 
34		overflow: hidden; 
35
36 
37	#resultados-arte .container-img{ 
38		position: absolute; 
39		float: right; 
40		width: 30%; 
41		height: 100%; 
42		display: inline-block; 
43		overflow: hidden; 
44		border-radius: 0 30px 0 0; 
45		text-align: center; 
46
47 
48	#resultados-arte .container-img img{ 
49		width: 100%; 
50		height: 100%; 
51
52 
53	#resultados-arte .container-img .empty-img{ 
54		width: auto; 
55		width: 175px; 
56		height: 175px; 
57
58 
59	#resultados-arte .titulo-contenido{ 
60		width: 97%; 
61		background-color: #E6E6E6; 
62		padding: 5px 25px 5px 10px; 
63		color:black; 
64		font-size: 1em; 
65		font-weight: bold; 
66
67 
68	#resultados-arte .titulo-contenido a{ 
69		font-weight: bold; 
70		text-decoration: none; 
71		color: black; 
72		display: block; 
73
74 
75	#resultados-arte .content-description{ 
76		margin: 10px 10px 10px 10px !important; 
77		text-align: justify; 
78
79 
80	/* Barra de titulo y enlaces de color azul*/ 
81	#resultados-arte .titulo-1{ 
82		border-radius: 0 0 0 10px; 
83		border-bottom: 3px solid #0E72B5; 
84
85 
86	#resultados-arte .titulo-1 a:link, 
87	#resultados-arte .titulo-1 a:visited{ 
88		color: black; 
89		text-decoration: none; 
90
91 
92	#resultados-arte .titulo-1 a:hover, 
93	#resultados-arte .titulo-1 a:active{ 
94		color: #0E72B5; 
95		text-decoration: none; 
96
97 
98	/* Barra de titulo y enlaces de color naranja oscuro*/ 
99	#resultados-arte .titulo-2{ 
100		border-radius: 0 0 0 10px; 
101		border-bottom: 3px solid #EA620D; 
102
103 
104	#resultados-arte .titulo-2 a:link, 
105	#resultados-arte .titulo-2 a:visited{ 
106		color: black; 
107		text-decoration: none; 
108
109 
110	#resultados-arte .titulo-2 a:hover, 
111	#resultados-arte .titulo-2 a:active{ 
112		color: #EA620D; 
113		text-decoration: none; 
114
115 
116	/* Barra de titulo y enlaces de color verde*/ 
117	#resultados-arte .titulo-3{ 
118		border-radius: 0 0 0 10px; 
119		border-bottom: 3px solid #97BF0D; 
120
121 
122	#resultados-arte .titulo-3 a:link, 
123	#resultados-arte .titulo-3 a:visited{ 
124		color: black; 
125		text-decoration: none; 
126
127 
128	#resultados-arte .titulo-3 a:hover, 
129	#resultados-arte .titulo-3 a:active{ 
130		color: #97BF0D; 
131		text-decoration: none; 
132
133 
134	/* Barra de titulo y enlaces de color naranja*/ 
135	#resultados-arte .titulo-4{ 
136		border-radius: 0 0 0 10px; 
137		border-bottom: 3px solid #F29400; 
138
139 
140	#resultados-arte .titulo-4 a:link, 
141	#resultados-arte .titulo-4 a:visited{ 
142		color: black; 
143		text-decoration: none; 
144
145 
146	#resultados-arte .titulo-4 a:hover, 
147	#resultados-arte .titulo-4 a:active{ 
148		color: #F29400; 
149		text-decoration: none; 
150
151 
152	/* Estilos para la tabla que muestra la info del elemento */ 
153	#resultados-arte .detail-lbl-1, 
154	#resultados-arte .detail-lbl-2, 
155	#resultados-arte .detail-lbl-3, 
156	#resultados-arte .detail-lbl-4{ 
157		width: 22%; 
158		font-style:italic; 
159		font-weight: bold; 
160		vertical-align:top; 
161
162 
163	#resultados-arte .detail-lbl-1{ 
164		color: #0E72B5; 
165		border-right: 1px solid #0E72B5; 
166
167 
168	#resultados-arte .detail-lbl-2{ 
169		color: #EA620D; 
170		border-right: 1px solid #EA620D; 
171
172 
173	#resultados-arte .detail-lbl-3{ 
174		color: #97BF0D; 
175		border-right: 1px solid #97BF0D; 
176
177 
178	#resultados-arte .detail-lbl-4{ 
179		color: #F29400; 
180		border-right: 1px solid #F29400; 
181
182 
183	#resultados-arte .detail-info{ 
184		padding: 0px 10px 5px 10px; 
185
186 
187	#resultados-arte .info-table{ 
188		width: 100%; 
189		verical-align: top; 
190
191 
192	#resultados-arte .info-table p{ 
193		margin: 0; 
194
195 
196	#resultados-arte .selected-category-container{ 
197		margin: 5px 10px; 
198
199 
200	#resultados-arte .selected-category-container hr{ 
201		margin: 5px 0; 
202		border-top: 1px solid #0E72B5; 
203
204 
205	#resultados-arte .selected-category-name{ 
206		color: #0E72B5!important; 
207		margin: 0!important; 
208		padding:0!important; 
209
210 
211	#resultados-arte .selected-category-description{ 
212		text-align: justify; 
213
214 
215	#resultados-arte .noresult-msg{ 
216		width: 100%; 
217		margin: 10px 0 10px 0; 
218		font-weight: bold; 
219		text-align: center; 
220
221 
222	/* RESPONSIVE */ 
223	@media only screen and (max-width : 767px) and (orientation : portrait) { 
224 
225		#resultados-arte .main-container-contenido{ 
226			display: flex; 
227			position: relative; 
228			flex-direction: column; 
229			width: 85%; 
230
231 
232		#resultados-arte .container-info { 
233			width: 100%; 
234
235 
236		#resultados-arte .container-img{ 
237			order: -1; 
238			position: relative; 
239			width: 100%; 
240			height: 250px; 
241
242 
243		#resultados-arte .container-img .empty-img { 
244			width: auto; 
245			height: 100%; 
246
247 
248		#resultados-arte .detail-lbl-1, 
249		#resultados-arte .detail-lbl-2, 
250		#resultados-arte .detail-lbl-3, 
251		#resultados-arte .detail-lbl-4{ 
252			width: 27%; 
253
254
255 
256	@media only screen and (min-width : 768px) and (orientation : portrait) { 
257 
258		#resultados-arte .main-container-contenido{ 
259			min-height: 150px; 
260
261 
262		#resultados-arte .container-img .empty-img { 
263			width: auto; 
264			height: auto; 
265
266 
267		#resultados-arte .detail-lbl-1, 
268		#resultados-arte .detail-lbl-2, 
269		#resultados-arte .detail-lbl-3, 
270		#resultados-arte .detail-lbl-4{ 
271			width: 27%; 
272
273
274	 
275	@media only screen and (min-width : 1920px) { 
276	 
277		#resultados-arte #main-container-title { 
278			font-size: 1.2em; 
279
280		 
281		#resultados-arte .main-container-contenido{ 
282			min-height: 250px; 
283
284		 
285		#resultados-arte .container-info { 
286			width: 75%; 
287
288		 
289		#resultados-arte .container-img { 
290			width: 25%; 
291
292		 
293		#resultados-arte .titulo-contenido { 
294		    font-size: 1.2em; 
295			line-height: 25px; 
296
297		 
298		#resultados-arte .content-description { 
299			font-size: 1.2em; 
300
301		 
302		#resultados-arte .detail-info{ 
303			padding-bottom: 12px; 
304
305		 
306		#resultados-arte .noresult-msg { 
307			font-size: 1.2em; 
308
309		 
310
311	 
312</style> 
313 
314<div id="resultados-arte"> 
315	<div id="main-container-title">Resultados obtenidos</div> 
316 
317	<#assign count = 1> 
318	<!-- Resultados --> 
319	<#if entries?has_content> 
320		<#list entries as currentContent> 
321			<#assign renderer = currentContent.getAssetRenderer()> 
322			<#assign className = renderer.getClassName()> 
323			<#if (className == "com.liferay.portlet.journal.model.JournalArticle") > 
324				<#assign journalArticle = renderer.getArticle() > 
325				<#assign document = saxReaderUtil.read(journalArticle.getContent()) > 
326				<#assign rootElement = document.getRootElement() > 
327				<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Nombre_artista']") > 
328				<#assign nombre_artista = xPathSelector.selectSingleNode(rootElement).getStringValue() > 
329				<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='ModalidadArtistica']") > 
330				<#assign modalidadesArtisticas = xPathSelector.selectNodes(rootElement)> 
331				<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Direccion']") > 
332				<#assign direccion = xPathSelector.selectSingleNode(rootElement).getStringValue() > 
333				<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Foto_artista']") > 
334				<#assign foto_artista = xPathSelector.selectSingleNode(rootElement).getStringValue() > 
335 
336				<#assign url = renderer.getURLViewInContext(renderRequest, renderResponse, '') /> 
337 
338				<div class="main-container-contenido"> 
339					<div class="container-info"> 
340						<div class="titulo-contenido titulo-${count}"> 
341							<a href="${url}">${nombre_artista}</a> 
342						</div> 
343						<div class="content-description"> 
344							<table class="info-table"> 
345								<tr> 
346									<td class="detail-lbl-${count}">Modalidades artísticas</td> 
347									<td class="detail-info"> 
348										<p> 
349										<#list modalidadesArtisticas as modalidadArtistica> 
350											<#assign aux = modalidadArtistica.getStringValue()> 
351											<p>${aux}</p> 
352										</#list> 
353										</p> 
354									</td> 
355								</tr> 
356								<#if (direccion?length>5) > 
357									<tr> 
358										<td class="detail-lbl-${count}">Dirección</td> 
359										<td class="detail-info"> 
360											<#assign dir= direccion?split(".") > 
361											<#list dir as d> 
362												<p>${d}</p> 
363											</#list> 
364										</td> 
365									</tr> 
366								</#if> 
367							</table> 
368						</div> 
369					</div> 
370					<div class="container-img"> 
371						<#if (foto_artista?length>5) > 
372							<a href="${url}"><img src="${foto_artista}" /></a> 
373						<#else> 
374							<a href="${url}"><img class="empty-img" src="/Diputacion-theme/images/cultura_dipva/artista-no-disponible.png" /></a> 
375						</#if> 
376					</div> 
377				</div> 
378			</#if> 
379			<#assign count = count + 1 > 
380			<#if (count>4) > 
381				<#assign count = 1> 
382			</#if> 
383		</#list> 
384	<#else> 
385		<div class="noresult-msg"> 
386			<span> La búsqueda no ha producido ningún resultado.</span> 
387		</div> 
388	</#if> 
389</div> 
390 
391<script> 
392	var url = document.URL; 
393	var arrayURL = []; 
394	var tamanio; 
395	var sc; 
396	var links = []; 
397	$(window).load(function(){ 
398		if (url.indexOf('categoryIds=')>=0){ 
399			arrayURL = url.split('&'); 
400			tamanio = arrayURL.length-1; 
401			sc = arrayURL[tamanio]; 
402			links = $('.lfr-menu-list>li>a'); 
403			var prop; 
404			links.each(function(){ 
405				prop = $(this).attr('href'); 
406				prop = prop+'&'+sc; 
407				$(this).attr('href',prop); 
408		    }); 
409 
410			botones = $('.lfr-pagination-buttons>li>a'); 
411			var prop1; 
412			botones.each(function(){ 
413				prop1 = $(this).attr('href'); 
414				prop1 = prop1+'&'+sc; 
415				$(this).attr('href',prop1); 
416		    }); 
417
418	}); 
419 
420</script>