An error occurred while processing the template.
The following has evaluated to null or missing: ==> .vars['reserved-article-display-date'] [in template "20101#20128#760377" at line 28, column 27] ---- Tip: It's the final [] step that caused this error, not those before it. ---- 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: ${.vars["reserved-article-display-dat... [in template "20101#20128#760377" at line 28, column 25] ----
1<#include "${templatesPath}/103607"/>
2<#if Immagine?has_content && Immagine.getData()?has_content>
3
4<div class="marginBottom20">
5 <a class="fancybox" href="#dialogImg" title="${htmlUtil.escapeAttribute(.vars['reserved-article-title'].getData())}">
6 <img src="${Immagine.getData()}" alt="imgDettaglio" class="img-responsive contentImage"/>
7 </a>
8 <div id="dialogImg" style="width:400px; display:none">
9 <img src="${Immagine.getData()}" class="img-responsive"/>
10 </div>
11
12 </div>
13
14 <!--<div class="marginBottom20">
15 <a class="fancybox" href="#dialogImg" title="${.vars['reserved-article-title'].getData()}">
16 <img src="${Immagine.getData()}" alt="imgDettaglio" class="img-responsive contentImage"/>
17 </a>
18 <div style="display:none;">
19 <div id="dialogImg">
20 <img src="${Immagine.getData()}" class="img-responsive" alt="${.vars['reserved-article-title'].getData()}"/>
21 </div>
22 </div>
23 </div>-->
24</#if>
25<#assign categories=getCategoriesOfArticle()/>
26 <div class="marginBottom20">
27
28 ${.vars['reserved-article-display-date'].getData()?datetime("EEE, d MMM yyyy HH:mm:ss Z")?string("dd/MM/yyyy")}</label>
29 </div>
30 <#if categories?size!=0>
31 <div class="marginBottom20"><h6 class="tipologia">${categories?first}</h6></div>
32 </#if>
33
34 <div class="marginBottom20">
35 <h3>${Titolo.getData()}</h3>
36 </div>
37 <div class="marginBottom20">
38 <section>
39 <article>
40 <p>
41${Contenuto.getData()}
42 </p>
43 </article>
44 </section>
45 </div>
46</div>
47
48<#if Allegati?has_content && Allegati.getSiblings()?has_content && (Allegati.getSiblings()?first)?has_content && (Allegati.getSiblings()?first).getData()!=''>
49 <#assign documentFolderAndEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppService")>
50
51 <div>
52 <table class="grid table table-responsive" cellspacing="0" rules="all" border="1" id="cphMain_ucDettaglioContenuto_gvAllegati" style="display:table;width:100%;border-collapse:collapse;">
53 <tbody>
54 <tr>
55 <th class="text-center" scope="col" style="width:80%;">
56 Nome documento
57 </th>
58 <th class="text-center" scope="col" style="width:20%;">
59 Data
60 </th>
61 </tr>
62
63 <#list Allegati.getSiblings() as cur_Allegati>
64 <#if cur_Allegati?? && cur_Allegati.getData()?has_content && cur_Allegati.getData()!=''>
65 <#assign link=cur_Allegati.getData()?substring(1)?split("/")/>
66 <#assign groupId=themeDisplay.getScopeGroupId()/>
67 <#assign uuid=link[4]?split("?")?first/>
68 <#assign file=documentFolderAndEntryLocalService.getFileEntryByUuidAndGroupId(uuid,groupId)/>
69 <#assign icon = getIconFromMime(file.getMimeType())/>
70 <#assign fileSizeHuman = getFileSizeHuman(file.getSize())/>
71 <tr>
72 <td>
73 <a href="/documents/${file.getGroupId()}/${file.getFolderId()}/${file.getTitle()}/${file.getUuid()}?download=true"><i class="fa ${icon}"></i> ${file.getFileName()}</a>
74 <div>(dimensione:${fileSizeHuman})</div>
75 <p>${file.getDescription()}</p>
76
77 </td>
78 <td class="text-center">
79 ${file.getCreateDate()?string("dd/MM/yyyy")}
80 </td>
81 </tr>
82 </#if>
83 </#list>
84
85 </tbody>
86 </table>
87 </div>
88
89<#else>
90<@showAllegati/>
91</#if>