Publications
Publications Advertising
Advertising
An error occurred while processing the template.
The following has evaluated to null or missing: ==> linkMap.layoutId [in template "20115#20151#42579" at line 25, column 92] ---- 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 layout = layoutService.getLay... [in template "20115#20151#42579" at line 25, column 13] ----
1<#if Titolo.getData() !=''>
2 <h2 class="portlet-title-text">${Titolo.getData()}</h2>
3</#if>
4<#if Content.getData() !=''>
5 ${Content.getData()}
6</#if>
7<#if Download.getData() !=''>
8 <#list Download.getSiblings() as node>
9 <div>
10 <a href="${node.getData()}" target="_blank" class="btn btn-secondary">
11 <i class="fas fa-download"></i>
12 <#if node.LabelBottoneDownload.getData() !=''>
13 ${node.LabelBottoneDownload.getData()}
14 <#else>
15 <@liferay.language key="download" />
16 </#if>
17 </a>
18 </div>
19 </#list>
20</#if>
21<#if LinkPagina.getData() !=''>
22 <#list LinkPagina.getSiblings() as link>
23 <#assign layoutService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") />
24 <#assign linkMap= link.getData()?eval />
25 <#assign layout = layoutService.getLayout(themeDisplay.getScopeGroupId(),false,linkMap.layoutId?number) />
26 <#assign pageTitle = layout.getName(locale) />
27 <a href="${link.getFriendlyUrl()}" class="btn btn-secondary">
28 <#if LinkPagina.LabelBottone.getData() !=''>
29 ${LinkPagina.LabelBottone.getData()}
30 <#else>
31 ${pageTitle}
32 </#if>
33 </a>
34 </#list>
35</#if>
36<#if LinkEsterno.getData() !=''>
37 <#list LinkEsterno.getSiblings() as linkesterno>
38 <div>
39 <a href="${linkesterno.getData()}" target="_blank" class="btn btn-secondary">
40 <#if LinkEsterno.LabelLink.getData() !=''>
41 ${LinkEsterno.LabelLink.getData()}
42 <#else>
43 <@liferay.language key="read-more" />
44 </#if>
45 </a>
46 </div>
47 </#list>
48</#if>