2014_06_24_EDU_Concepción Naval, participante de una reunión con el Grupo de Expertos en Libertad de Enseñanza
Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> CheckImagenFieldSet.CheckImagenFieldSetFieldSet.ImagenTexto [in template "10136#10174#3653711" at line 83, column 82]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
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: ${CheckImagenFieldSet.CheckImagenFiel... [in template "10136#10174#3653711" at line 83, column 80]
----
1<!-- AQUI CARGAMOS LA HOJA DE ESTILOS -->
2
3 <#setting locale="es_ES">
4 <!-- FUNCION JAVASCRIPT QUE MUESTRA Y OCULTA EL REPRODUCTOR DE SONIDO -->
5 <script type="text/javascript">d
6 function mostrar(num) {
7 obj = document.getElementById('reproductor' + num);
8 obj.style.display = (obj.style.display=='none') ? 'block' : 'none';
9 }
10 function abrirVentana(url) {
11 window.open(url, "nuevo", "directories=no, location=no, menubar=no, scrollbars=yes, statusbar=no, tittlebar=no, width=800, height=800");
12 }
13 function verDetalle(nombreAutor){
14 /*v1.0 antes de URL amigables...*/
15 /*
16 var url = location.href;
17 var asset = "";
18 if(url.indexOf("/-/")!= -1){
19 url = location.href.split("/-/")[0];
20 asset = "/-/"+location.href.split("/-/")[1];
21
22 }
23 url = url.split("/");
24 location.href = location.href.replace(asset,"").replace(url[url.length-1],"")+"noticias-autor?nombreAutor="+nombreAutor;
25 */
26 /*V1.1*/
27 var encabezado = "";
28 if (location.href.indexOf("https://")== -1){
29 var url = location.href.replace("http://","");
30 encabezado = "https://";
31 }else{
32 var url = location.href.replace("https://","");
33 encabezado = "https://";
34 }
35 var urlSplt = url.split("/");
36 if((url.indexOf("/es/")== -1) && (url.indexOf("/en/")== -1)){
37 //alert("no tiene");
38 url = urlSplt[0]+"/"+urlSplt[1]+"/"+urlSplt[2]+"/noticias-autor?nombreAutor="+nombreAutor;
39
40 }else{
41 url = urlSplt[0]+"/"+urlSplt[1]+"/"+urlSplt[2]+"/"+urlSplt[3]+"/noticias-autor?nombreAutor="+nombreAutor;
42 }
43 location.href= encabezado+url;
44 return false;
45 }
46 </script>
47
48
49<div id="mainNoticia" class="mainNoticia newsV2">
50
51 <!-- TÍTULOS -->
52 <div class="titulos">
53 <h2><#if (Titulo_noticia.getData())??>
54 ${Titulo_noticia.getData()}
55</#if></h2>
56 <script type="text/javascript">
57 $(document).ready(function () {
58 document.title = "$htmlUtil.escapeJS(<#if (Titulo_noticia.getData())??>
59 ${Titulo_noticia.getData()}
60</#if>)";
61 if ($('.breadcrumbs li.last span').length) {
62 $('.breadcrumbs li.last span').text('$htmlUtil.escapeJS($Titulo_noticia.getData())');
63 }
64 });
65 </script>
66 <p class="subtitulo"><strong><#if (Entradilla.getData())??>
67 ${Entradilla.getData()}
68</#if></strong></p>
69 </div>
70
71
72 <!-- IMAGEN O VIDEO -->
73 <div class="videoOimagen">
74 <div class="videoOimagen-inner">
75
76 <#if getterUtil.getBoolean(CheckImagenFieldSet.CheckImagen.getData())>
77
78 <div class="imagen">
79
80 <#if CheckImagenFieldSet.CheckImagenFieldSetFieldSet.Imagen.getData()?has_content>
81 <img class="foto" src="${CheckImagenFieldSet.CheckImagenFieldSetFieldSet.Imagen.getData()}" alt="Descripcion de la imagen"/>
82 <#else>
83 <img class="foto" src="${CheckImagenFieldSet.CheckImagenFieldSetFieldSet.ImagenTexto.getData()}" alt="Descripcion de la imagen"/>
84 </#if>
85 <#if validator.isNotNull(CheckImagenFieldSet.CheckImagenFieldSetFieldSet.Texto_imagen.data) || validator.isNotNull(CheckImagenFieldSet.CheckImagenFieldSetFieldSet.Autor_imagen.data)>
86 <div class="textoFoto">
87 <span> ${htmlUtil.unescape(CheckImagenFieldSet.CheckImagenFieldSetFieldSet.Texto_imagen.getData())}</span>
88 <span class="autor">FOTO: ${CheckImagenFieldSet.CheckImagenFieldSetFieldSet.Autor_imagen.getData()}</span>
89 </div>
90 </#if>
91 </div>
92</#if>
93
94 <!-- VIDEOS -->
95 <#list CheckVideo.getSiblings() as video>
96 <#if getterUtil.getBoolean(CheckVideoFieldSet.CheckVideo.getData())>
97 <#if (CheckVideoFieldSet.CheckVideoFieldSetFieldSet.Video_Youtube.getData()?? || CheckVideoFieldSet.CheckVideoFieldSetFieldSet.Video_Biblioteca.getData()??)>
98 <div class="video">
99 <#if CheckVideoFieldSet.CheckVideoFieldSetFieldSet.Video_Biblioteca.getData()?has_content>
100 <video controls style="height:355px;width:100%;">
101 <source src="$video.Video_Biblioteca.data" type="video/mp4"/>
102 <source src="$video.Video_Biblioteca.data" type="video/ogg"/>
103 Your browser does not support the video tag.
104 </video>
105 <#else>
106 <iframe style="height:355px;width:100%;" frameborder="0" allowfullscreen></iframe>
107 <script>
108 $(document).ready(function () {
109
110
111 var url = ' ${CheckVideoFieldSet.CheckVideoFieldSetFieldSet.Video_Youtube.getData()}';
112 var id = url.split(/(?:youtu\.be\/|v\/|embed\/|watch\?v=)/)[1].split("&")[0];
113 $("iframe").attr("src", "https://www.youtube.com/embed/" + id);
114 });
115 </script>
116 </#if>
117
118 <#if validator.isNotNull(video.Titulo_video.getData())>
119 <div class="titulo"><strong>${video.Titulo_video.getData()}</strong></div>
120 </#if>
121 </div>
122 </#if>
123 </#if>
124 </#list>
125 </div>
126 </div>
127
128 <!-- BLOQUE PRINCIPAL -->
129 <div class="leftNoticia">
130 <!-- Aquí se inserta el portlet -->
131 <div class="artRecurInteres"></div>
132 <script>
133 $(document).ready(function () {
134 var portlet = $('#p_p_id_ArticuloRecursosInteres_WAR_ArticuloRecursosInteresportlet_');
135 if (portlet.length) {
136 portlet.appendTo('.artRecurInteres');
137 var stars = portlet.find('.taglib-ratings.stars');
138 if (stars.length) {
139 portlet.find('.liferay-rating-score').insertBefore('.liferay-rating-vote');
140 }
141 }
142 });
143 </script>
144 </div>
145
146 <!-- DERECHA NOTICIA -->
147 <div class="rightNoticia">
148 <div class="dateNameNew">
149<#assign rawFecha = .vars['reserved-article-modified-date'].data?string>
150<#assign fechaParsed = rawFecha?date("EEE, dd MMM yyyy HH:mm:ss Z")>
151<span class="fechaNoticia">
152 ${fechaParsed?string("dd/MM/yy HH:mm")}
153</span>
154 <#list Nombre_autor.getSiblings() as autor>
155 <a href="#" onclick="verDetalle('$autor.data')" class="nombreAutor">${autor.getData()}</a>
156 </#list>
157 </div>
158
159
160 <#if (Cuerpo1FieldSet.Cuerpo1.getData())??>
161 ${Cuerpo1FieldSet.Cuerpo1.getData()}
162</#if>
163
164<#if (Cuerpo2FieldSet.Cuerpo2FieldSetFieldSet.ladilloRev1.getData())??>
165 <span class="ladillo"> ${Cuerpo2FieldSet.Cuerpo2FieldSetFieldSet.ladilloRev1.getData()}</span>
166</#if>
167
168<#if (Cuerpo2FieldSet.Cuerpo2.getData())??>
169${Cuerpo2FieldSet.Cuerpo2.getData()}
170</#if>
171
172<#if (Cuerpo3FieldSet.Cuerpo3FieldSetFieldSet.ladilloRev2.getData())??>
173 <span class="laddillo"> ${Cuerpo3FieldSet.Cuerpo3FieldSetFieldSet.ladilloRev2.getData()} </span>
174</#if>
175
176<#if (Cuerpo3FieldSet.Cuerpo3.getData())??>
177 ${Cuerpo3FieldSet.Cuerpo3.getData()}
178</#if>
179
180<#if (Cuerpo4FieldSet.Cuerpo4FieldSetFieldSet.ladilloRev3.getData())??>
181 <span class="ladillo"> ${Cuerpo4FieldSet.Cuerpo4FieldSetFieldSet.ladilloRev3.getData()} </span>
182</#if>
183
184<#if (Cuerpo4FieldSet.Cuerpo4.getData())??>
185 ${Cuerpo4FieldSet.Cuerpo4.getData()}
186</#if>
187
188
189<#if (Cuerpo5FieldSet.Cuerpo5FieldSetFieldSet.ladilloRev4.getData())??>
190 <span class="ladillo"> ${Cuerpo5FieldSet.Cuerpo5FieldSetFieldSet.ladilloRev4.getData()}</>
191</#if>
192
193<#if (Cuerpo5FieldSet.Cuerpo5.getData())??>
194 ${Cuerpo5FieldSet.Cuerpo5.getData()}
195</#if>
196 </div>
197 <#if (AudioFieldSet.Audio.getData())?has_content>
198 <div class="bloque-archivos">
199 <h3>Otros contenidos de la noticia</h3>
200
201
202 <div class="bloque-musica">
203
204
205
206
207
208
209
210 <div class="audio">
211 <div class="logo">
212 <img src="/o/unav-principal-theme/custom/legacy/images/audio.gif" height="15px" width="15px">
213 </div>
214 <div class="bloqueDatos">
215 <span class="nombreArchivo">Audio</span>
216 <div>
217 <a href="javascript:void(0);" class="enlace corporativeColor" onclick="mostrar(1); return false">${AudioFieldSet.AudioFieldSetFieldSet.Titulo_audio.getData()}</a>
218 </div>
219 </div>
220 <!-- BLOQUE DEL REPRODUCTOR DE MUSICA QUE SOLO QUEREMOS QUE SE MUESTRE CUANDO PULSEMOS EL ICONO -->
221 <div id="reproductor1" name="reproductor1" class="reproductor" style="display:none">
222 <p>
223 </p><div id="/documents/10174/1899377/130925noticiasdelcampus_inside.mp3">
224 <audio style="width: 200px;" controls="">
225 <source src="/documents/10174/1899377/130925noticiasdelcampus_inside.mp3" type="audio/ogg">
226 <source src="/documents/10174/1899377/130925noticiasdelcampus_inside.mp3" type="audio/mpeg">
227 </audio>
228 </div>
229 <p></p>
230 </div>
231 </div>
232 </div>
233
234
235 </div>
236 </#if>
237
238</div>