Area assistenza per progettisti e tecnici - AcegasApsAmga
Aggregatore Risorse
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> request.getSession().getAttribute('selectedComune') [in template "20099#20135#36102140" at line 7, column 6]
----
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: #if request.getSession().getAttribute... [in template "20099#20135#36102140" at line 7, column 1]
----
1<#assign
2prefUrl = layout.getGroup().getDisplayURL(themeDisplay, false)
3totalItems = 0
4selectedComuneGA= "Nessun Comune selezionato"
5/>
6
7<#if request.getSession().getAttribute('selectedComune') != "">
8 <#assign selectedComuneGA= request.getSession().getAttribute('selectedComune') />
9</#if>
10
11<#list entries as curEntry>
12 <#assign totalItems = totalItems + 1 />
13</#list>
14<#if entries?has_content>
15 <div class="assistenza-faq-search">
16 <section id="search" class="text-center d-none d-lg-block"
17 style="background-image:linear-gradient(179deg, #ffffff 20%, #FCF5D0 70%)">
18 <div id="assistenza-faq-container" class="container py-5"
19 style="background-image: url(${themeDisplay.getPathThemeImages()}/hera-perte_bg.png);">
20 <h2 class="black-three title-bigger2 bolder letter-spacing-sm mb-4">${languageUtil.get(locale, "cerchi-info-specifica")}</h2>
21 <div id="ricerca-faq">
22 <#assign itemCounter = 1 />
23 <#list entries as curEntry>
24
25 <#if itemCounter % 5 == 1 || itemCounter % 5 == 4 >
26 <div class="row mt-3">
27 </#if>
28
29 <#assign
30 assetRenderer = curEntry.getAssetRenderer()
31 docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContentByLocale(locale.toString()))
32 label= docXml.valueOf("//dynamic-element[@name='label']/dynamic-content/text()")
33 pageURL= docXml.valueOf("//dynamic-element[@name='link']/dynamic-content/text()")
34 link= ""
35
36 />
37
38 <#if itemCounter % 5 == 0 || itemCounter % 5 == 4>
39 <#assign classLi = "col-lg-6">
40 <#else>
41 <#assign classLi = "col-lg-4">
42 </#if>
43
44 <#if (pageURL != "")>
45 <#assign
46 layoutID = pageURL?split("@")?first
47 groupID = pageURL?split("@")?last
48 />
49 </#if>
50
51 <#if ( (layoutID != "") && (groupID!="") )>
52
53 <#attempt>
54 <#assign
55 layoutIDJsonString = pageURL?split("@")?first
56 layoutIDJsonObject = jsonFactoryUtil.createJSONObject(layoutIDJsonString)
57 groupIDJsonString = pageURL?split("@")?last
58 groupIDJsonObject = jsonFactoryUtil.createJSONObject(groupIDJsonString)
59 pageLayout = heraContributorLocalService.getLayout(groupIDJsonObject.getLong("groupId"), false, layoutIDJsonObject.getLong('layoutId'))
60 link = pageLayout.getFriendlyURL(local)
61 />
62 <#recover>
63 </#attempt>
64 </#if>
65
66 <div class="${classLi}">
67 <a id="assistenza-faq-domanda" href="
68 <#if label?contains('centro di raccolta')>
69 https://www.ilrifiutologo.it/casa_stazioni_ecologiche/81${selectedComuneGA}.html
70 <#else>
71 ${link}
72 </#if>
73 "
74 class="btn bg-white normal2 black mr-4 j-gtm"
75 data-gtm-event="assistenza_funnel"
76 data-gtm-category="selezione_faq"
77 data-gtm-event_label="${selectedComuneGA}"
78 data-gtm-event_action="${label}">
79 ${label}
80 </a>
81 </div>
82
83
84 <#if itemCounter % 5 == 0 || itemCounter % 5 == 3 >
85 </div>
86 </#if>
87
88 <#assign itemCounter = itemCounter + 1 />
89 </#list>
90 </div>
91
92 </div>
93 </section>
94 </div>
95</#if>
96
97
98<style>
99 div#ricerca-faq {
100 DISPLAY: FLEX;
101 FLEX-DIRECTION: COLUMN;
102 JUSTIFY-CONTENT: CENTER;
103 ALIGN-ITEMS: CENTER;
104 }
105
106 #assistenza-faq-domanda.btn {
107 height: 70px !important;
108 padding: 0 20px;
109 font-size: 1rem;
110 font-weight: bold;
111 font-style: normal;
112 font-stretch: normal;
113 line-height: 2;
114 letter-spacing: .4px;
115 text-align: center;
116 text-wrap: wrap !important;
117 border-radius: 36px;
118 display: inline-flex;
119 align-items: center;
120 }
121
122
123 #ricerca-faq .row.mt-3 {
124 width: 100%;
125 display: flex;
126 justify-content: center;
127 align-items: center;
128 }
129</style>
Servizi AAA filter comuni
Servizi erogati nel tuo comune
Errore! Ci scusiamo per il disagio ma il servizio non è al momento disponibile; riprovare più tardi
Aggregatore Risorse
Richiesta Cartografia
Accedi alla pagina per richiedere gli estratti cartografici di cui hai bisogno. Ti basterà compilare il modulo per riceverli in formato pdf.
Scopri di più