2016
Prórroga del Convenio de colaboración para el desarrollo del Programa de Atención a Drogodependientes para el ejercicio 2016
Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing: ==> dlTool.getDLFileEntryByPath(conv.getData()) [in template "32656#32690#75223" at line 41, column 86] ---- Tip: If the failing expression is known to be 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 fileEntry = dlTool.getDLFileE... [in template "32656#32690#75223" at line 41, column 65] ----
1<#assign dlTool = utilLocator.findUtil("lportal7.0ce-hook", "as.asac.template.tools.DLTool") />
2<#assign journalTool = utilLocator.findUtil("lportal7.0ce-hook", "as.asac.template.tools.JournalTool") />
3<#assign title = .vars['reserved-article-title'].data>
4<#assign date=.vars["reserved-article-display-date"].data />
5<#assign dateFormatted = journalTool.getDateFormat(date, "dd MMM yyyy", locale, timezone)>
6
7<div class="convenio detail template row row-spacing">
8
9
10 <div class="date-wrapper text-default text-right">
11 <small><span class="icon-calendar"><span> <@liferay.language key="display-date" /></span> </span><span class="date">${dateFormatted}</span></small>
12 </div>
13
14 <#if DatosConvenio.data != "">
15 <div class="col-md-12">
16 <h4>Datos Convenio</h4>
17 <div class="text">${DatosConvenio.data}</div>
18 </div>
19 </#if>
20 <#if ObjetoConvenio.data != "">
21 <div class="col-md-12">
22 <h4>Objeto del Convenio</h4>
23 <div class="text">${ObjetoConvenio.data}</div>
24 </div>
25 </#if>
26 <#if Participantes.data != "">
27 <div class="col-md-12">
28 <h4>Participantes</h4>
29 <div class="text">${Participantes.data}</div>
30 </div>
31 </#if>
32 <#if Convenio ??>
33 <#if Convenio.getSiblings()?has_content>
34 <div class="col-md-12">
35 <h4>Documentos</h4>
36 <#list Convenio.getSiblings() as conv>
37 <#if conv.data !="">
38 <div class="col-md-6 uxgl-horizontal-card">
39 <div class="document-wrapper card card-horizontal">
40 <div class="card-row">
41 <#assign fileEntry = dlTool.getDLFileEntryByPath(conv.getData())/>
42 <#assign name = ""/>
43 <#if validator.isNotNull(fileEntry.getExtension())>
44 <#assign name = fileEntry.getTitle()/>
45
46 <#if conv.NombreConvenio.data!="">
47 <#assign name = conv.NombreConvenio.data/>
48 </#if>
49 <div class="card-col-field card-col-gutters">
50 <a class="document document-${fileEntry.getExtension()} big" href="${conv.data}" title="${fileEntry.getTitle()}">
51 <span class="hide-accessible">${fileEntry.getTitle()}</span>
52 </a>
53 </div>
54
55 <div class="card-col-content card-col-gutters">
56 <a class="" href="${conv.data}" title="${fileEntry.getTitle()}">
57 <span class="small text-uppercase">${name}</span>
58 </a>
59 </div>
60 </#if>
61 </div>
62 </div>
63 </div>
64 </#if>
65 </#list>
66 </div>
67 </#if>
68 </#if>
69
70</div>