Se ha producido un error al procesar la plantilla.
Error on line 61, column 25 in 20154#20194#25461
document.selectSingleNode("/root/dynamic-element[@name='rotator-image']/dynamic-content") is undefined.
It cannot be assigned to rotatorImage
1<#assign aui = taglibLiferayHash["/WEB-INF/tld/aui.tld"] /> 
2<#assign liferay_portlet = taglibLiferayHash["/WEB-INF/tld/liferay-portlet.tld"] /> 
3<style> 
4 
5@media (min-width: 1280px) { 
6   .altura{ 
7	max-height:400px 
8
9 
10
11@media (min-width: 1366px) { 
12   .altura{ 
13	max-height:420px 
14
15 
16
17@media (min-width: 1600px) { 
18   .altura{ 
19	max-height:459px 
20
21
22@media (min-width: 1700px) { 
23   .altura{ 
24	max-height:490px 
25
26
27@media (min-width: 1800px) { 
28   .altura{ 
29	max-height:530px 
30
31
32@media (min-width: 1900px) { 
33   .altura{ 
34	max-height:600px 
35
36
37</style>   
38<#if entries?has_content> 
39 
40<div id="header-slider" class="carousel slide carousel-fade"> 
41	 
42	<div class="carousel-inner" role="listbox"> 
43	<#list entries as entry> 
44	 
45		<#assign e = entry /> 
46		<#assign assetRenderer = e.getAssetRenderer() /> 
47		<#assign entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) /> 
48			 
49		<#assign className = assetRenderer.getClassName() /> 
50		<#if className == "com.liferay.portlet.journal.model.JournalArticle"> 
51		 
52			<#assign journalArticle = assetRenderer.getArticle() /> 
53			<#assign document = saxReaderUtil.read(journalArticle.getContent()) /> 
54			 
55			<#if entry_index==0> 
56				<#assign activeLabel = "active" /> 
57			<#else> 
58				<#assign activeLabel = "" /> 
59			</#if> 
60			 
61			<#assign rotatorImage =  
62				document.selectSingleNode("/root/dynamic-element[@name='rotator-image']/dynamic-content") /> 
63			 
64			<#assign altText =  
65				document.selectSingleNode("/root/dynamic-element[@name='alt-text']/dynamic-content") /> 
66			 
67			<#assign url =  
68				document.selectSingleNode("/root/dynamic-element[@name='url']/dynamic-content") /> 
69			 
70			<div class="item ${activeLabel}"> 
71			<#if url?? && url.getData()!=""> 
72			<a href="${url.getData()}"> 
73				<img class="altura" src="${rotatorImage.getData()}" alt="${altText.getData()}"> 
74			</a> 
75			<#else> 
76				<img class="altura" src="${rotatorImage.getData()}" alt="${altText.getData()}"> 
77			</#if> 
78			 
79			</div> 
80 
81		</#if> 
82	</#list> 
83	</div> 
84	<a class="left carousel-control" href="#header-slider" 
85		role="button" data-slide="prev"> <span 
86		class="fa icon-arrow-left" aria-hidden="true"></span> 
87	</a> 
88	<a class="right carousel-control" href="#header-slider" 
89		role="button" data-slide="next"> <span 
90		class="fa icon-arrow-right" aria-hidden="true"></span> 
91	</a> 
92</div> 
93<script> 
94	$('.carousel').carousel(); 
95</script> 
96</#if>