Video - Resumen Vía Verde Ferrocarril - ayto-carreno
Estas en:
Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing: ==> archivoMultimedia [in template "10114#2295845#2419334" at line 17, column 51] ---- 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: #assign url = stringUtil.replace(arch... [in template "10114#2295845#2419334" at line 17, column 17] ----
1<#assign documentService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")>
2<h2 class="gr"><span>${titulo.getData()}</span></h2>
3
4 <p class="entradilla">
5
6 ${resumen.getData()}
7 </p>
8
9<#if viewMode == "view">
10 <!--configuración de la fecha-->
11
12
13 <div class="bloque">
14
15
16 <!-- Añadimos la extension del archivo a reproducir -->
17 <#assign url = stringUtil.replace(archivoMultimedia.getData(), "?", "%3F")>
18 <#assign url = stringUtil.replace(url, "=", "%3D")>
19 <#assign url = stringUtil.replace(url, "&", "%26")>
20
21 <#if imagen.getData() != "">
22 <#assign imageUrl = stringUtil.replace(imagen.getData(), "?", "%3F")>
23 <#assign imageUrl = stringUtil.replace(imageUrl, "=", "%3D")>
24 <#assign imageUrl = stringUtil.replace(imageUrl, "&", "%26")>
25
26 <#assign imageUrlToUrl = stringUtil.add("&image=", imageUrl, "")>
27 <#assign url = stringUtil.add(rl, imageUrlToUrl, "")>
28 </#if>
29
30 <#assign tipoMultimedia = tipo.getData()>
31
32 <#assign width = 601>
33 <#assign height = 338>
34
35 <#if tipo.getData() == "audio">
36 <#assign width = 470>
37 <#assign height = 24>
38 <#assign tipoMultimedia = "sound">
39 </#if>
40
41 <#assign provider = stringUtil.add("&provider=", tipoMultimedia, "")>
42
43 <#assign url = stringUtil.add(url, provider, "")>
44
45 <#assign player = "/main-responsive-theme/swf/player.swf">
46
47 <!--
48 Se utiliza la imagen alternativa en ausencia de contenido real
49 -->
50
51
52
53 </div>
54 <#if descripcion.getData()??>
55 <div class="bloque" id="videodesc">
56 <h3 class="s">
57 <@liferay.language key="portal.cast.templates.multimedia.descripcion.titulo" />
58 </h3>
59 ${descripcion.getData()}
60 </div>
61 </#if>
62 <!-- Fin detalle video -->
63
64</#if>