Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing: ==> httpUtil.getPath [in template "184978018#184978059#184985812" at line 2, column 30] ---- 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: #assign theme_images_path = httpUtil... [in template "184978018#184978059#184985812" at line 2, column 1] ----
1<#assign theme_images_complete_path = themeDisplay.getPathThemeImages()>
2<#assign theme_images_path = httpUtil.getPath(theme_images_complete_path)>
3
4<div class="eventFarma">
5 <h2><@liferay_ui["message"] key="farmavenix.public.eventos.title"/></h2>
6 <#list entries as entry>
7 <#assign docXml = saxReaderUtil.read(entry.getAssetRenderer().getArticle().getContent()) />
8 <#assign titulo = docXml.valueOf("//dynamic-element[@name='Titulo']/dynamic-content") />
9 <#assign imagenPpal = docXml.valueOf("//dynamic-element[@name='ImagenHome']/dynamic-content") />
10 <#assign entradilla = htmlUtil.extractText(docXml.valueOf("//dynamic-element[@name='Entradilla']/dynamic-content")) />
11 <#assign fechaPublicacion = docXml.valueOf("//dynamic-element[@name='Fecha']/dynamic-content")/>
12 <#assign entry = entry assetRenderer = entry.getAssetRenderer() entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, '') publishDate = entry.getPublishDate()/>
13 <div class="divEventFarma">
14 <div class="col-md-4 col-lg-4 divEventImg">
15 <#if imagenPpal?? && imagenPpal != "">
16 <img src="${imagenPpal}" />
17 <#else >
18 <img src="${theme_images_path}/fmx/event/event1.jpg" />
19 </#if>
20 </div>
21 <div class="col-md-8 col-lg-8 divEventInfo">
22 <p class="titleEvent"><a href="${viewURL}">${titulo}</a></p>
23 <p class=eventDate>
24 <#if validator.isNotNull(fechaPublicacion)>
25 <#assign dateUser = dateUtil.parseDate("yyyy-MM-dd", fechaPublicacion, locale) />
26 ${dateUtil.getDate(dateUser, "dd / MM / yyyy", locale)}
27 <#elseif validator.isNotNull(publishDate)>
28 ${dateUtil.getDate(publishDate, "dd / MM / yyyy", locale)}
29 </#if>
30 </p>
31 <p>${htmlUtil.extractText(entradilla)}</p>
32 <p>
33 <span>
34 <a href="${viewURL}" class="verMas"><@liferay_ui["message"] key="farmavenix.common.verMas"/></a>
35 </span>
36 </p>
37 </div>
38 </div>
39 </#list>
40</div>