Publicador de contenidos
Deportes
Publicador de contenidos
Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing: ==> titulo [in template "20192#20219#TPL_WELBOA_ARTICULO_PORTADA_SECCIONES" at line 22, column 57] ---- 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: ${titulo.getData()} [in template "20192#20219#TPL_WELBOA_ARTICULO_PORTADA_SECCIONES" at line 22, column 55] ----
1<#assign
2 welboaService = serviceLocator.findService("com.once.welboa.service.api.WelboaService")
3 journalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleService")
4 welboaGroupId = groupId
5 welboaBoletin = welboaService.getBoletin(request, themeDisplay)
6 URLdetalleArt = ""
7/>
8
9<#if (.vars['reserved-article-id'].data)?has_content>
10 <#assign journalArticleId = .vars['reserved-article-id'].data />
11 <#if (journalService.getArticle(welboaGroupId, journalArticleId))?has_content>
12 <#assign journalArticle = journalService.getArticle(welboaGroupId, journalArticleId)/>
13 <#if (welboaBoletin)?has_content>
14 <#assign URLdetalleArt = friendlyURL+"?boletin="+welboaBoletin.getArticleId()/>
15 </#if>
16 </#if>
17</#if>
18<a class="tarjeta-welboa welboa-title-link" href="${URLdetalleArt}">
19<div class="h-100 mw-100 position-relative">
20<span class="oculto"><@liferay.language key="link" /> ${titulo.getData()}</span>
21 <div class="imagen-tarjeta-welboa">
22 <#if (miniatura.getData())?? && miniatura.getData() != "">
23 <img class ="align-middle w-100 articulo_imagen-top" alt="${miniatura.getAttribute("alt")}" data-fileentryid="${miniatura.getAttribute("fileEntryId")}" src="${miniatura.getData()}" />
24 <#elseif (imagen.getData())?? && imagen.getData() != "">
25 <img class ="align-middle w-100 articulo_imagen-top" alt="${imagen.getAttribute("alt")}" data-fileentryid="${imagen.getAttribute("fileEntryId")}" src="${imagen.getData()}" />
26 </#if>
27 </div>
28 <div class="texto-tarjeta-titulo-entradilla min-h-1 p-3">
29 <#if (titulo.getData())??>
30<h3 class="h5"> ${titulo.getData()}</h3>
31
32 </#if>
33 <#if (entradilla.getData())??>
34 <div class="m-b-0 texto-entradilla-tarjeta block-ellipsis">${htmlUtil.stripHtml(entradilla.getData())}</div>
35 </#if>
36 </div>
37</div>
38 </a>
39<style>
40.oculto {
41 position: absolute;
42 opacity: 0;
43 user-select: text;
44 pointer-events: none;
45}
46</style>