An error occurred while processing the template.
The following has evaluated to null or missing: ==> request['theme-display'] [in template "20116#20152#294831" at line 1, column 47] ---- Tip: It's the final [] step 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 images_folder = getterUtil.ge... [in template "20116#20152#294831" at line 1, column 1] ----
1<#assign images_folder = getterUtil.getString(request['theme-display']['path-theme-images'])>
2<div class="project-detail light-grey">
3 <#if immagine?? && immagine.getData() != '' >
4 <div class="swiper-container">
5 <div class="swiper-wrapper">
6 <div class="swiper-slide">
7 <div class="swipe-background" style="background-image:url('${immagine.getData()}')">
8 </div>
9 </div>
10 </div>
11 </div>
12 <#else>
13 <div class="swiper-container">
14 <div class="swiper-wrapper">
15 <div class="swiper-slide">
16 <div class="swipe-background" style="background-image:url('${images_folder}/swiper/default-news-image.jpg')">
17 </div>
18 </div>
19 </div>
20 </div>
21 </#if>
22
23 <div class="container">
24 <#--
25 Versione senza img di copertina
26 -->
27
28 <#--
29 <#if immagine.getData()?? >
30 <div class="project-detail__content-wrapper">
31 <#else>
32 <div class="project-detail__content-wrapper project-detail__content-wrapper--no-image">
33 </#if>
34 -->
35 <div class="project-detail__content-wrapper">
36 <#if pageGeneratorParentFriendlyUrl?? && validator.isNotNull(pageGeneratorParentFriendlyUrl.getData())>
37 <div class="project-detail__back-wrapper">
38 <a href="${pageGeneratorParentFriendlyUrl.data}" class="project-detail__back">
39 <i class="icon-angle-left"></i>${languageUtil.get(locale, "territori.torna_indietro")}
40 </a>
41 </div>
42 </#if>
43 <div class="project-detail__title-wrapper">
44 <div class="project-detail__title color-primary">
45 ${titolo.getData()}
46 </div>
47
48 </div>
49 <div class="project-detail__main-content">
50 <div class="project-detail__content">
51 <div class="row">
52 <#if galleria?? && galleria.getSiblings()?has_content && validator.isNotNull((galleria.getSiblings()?first).getData())>
53 <div class="col-md-8">
54 ${testo.getData()}
55 </div>
56 <div class="col-md-4">
57 <div class="project-detail__image-list">
58 <#list galleria.getSiblings() as cur_galleria>
59 <#if cur_galleria.getData()?? && cur_galleria.getData() != "">
60 <a href="${cur_galleria.getData()}"
61 data-fancybox="galleria"
62 data-caption="${cur_galleria.getAttribute("alt")}">
63 <img class="project-detail__image img-responsive"
64 src="${cur_galleria.getData()}"
65 alt="${cur_galleria.getAttribute("alt")}">
66 </a>
67 </#if>
68 </#list>
69 </div>
70 </div>
71 <#else>
72 <div class="col-md-12">
73 ${testo.getData()}
74 </div>
75 </#if>
76 </div>
77 </div>
78 </div>
79 </div>
80 </div>
81</div>
IL PERICOLO