Fogli Volanti e Copielle - Fogli Volanti e Copielle - Sona
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing: ==> autoreObj.get("thumbnail") [in template "20101#20128#509221" at line 204, column 64] ---- 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 immagineAut = autoreObj.get("... [in template "20101#20128#509221" at line 204, column 41] ----
1<style>
2 .modal-open .modal[id^='fullDLImage-'] {
3 overflow-x: hidden!important;
4 overflow-y: auto!important;
5 }
6
7 .modal-body {
8 overflow: auto;
9 }
10</style>
11
12<script type="text/javascript" src="${themeDisplay.getPathThemeRoot()}/js/player-embedder.js"></script>
13<#assign
14 companyId = themeDisplay.getCompanyId()
15 groupId = themeDisplay.getScopeGroupId()
16 baseURL = themeDisplay.getURLPortal() + portal.getPathFriendlyURLPublic() + themeDisplay.getLayout().getGroup().getFriendlyURL()
17 elencoURL = baseURL + "/approfondimenti"
18/>
19
20<section id="heroImageApprofondimentiContainer" style="background: url('/o/SoNaTema/images/jpg/approfondimenti.jpg') no-repeat center; background-size: cover;">
21</section>
22
23<div class="container">
24 <nav aria-label="breadcrumb">
25 <h2 class="sr-only"><@liferay_ui["message"] key="label.sona.approfondimenti.menu.nav" /></h2>
26 <ol class="breadcrumb">
27 <li class="breadcrumb-item"><a title="<@liferay_ui['message'] key='header.sona.logo.title' />" aria-label="<@liferay_ui['message'] key='header.sona.logo.ariaLabel' />" href="${baseURL}">Home</a></li>
28 <li class="breadcrumb-item active" aria-current="page"><a title="<@liferay_ui['message'] key='footer.sona.approfondimenti' />" aria-label="<@liferay_ui['message'] key='footer.sona.approfondimenti' />" href="${elencoURL}"><@liferay_ui["message"] key="footer.sona.approfondimenti" /></a></li>
29 <li class="breadcrumb-item active" aria-current="page">${titolo_value.getData()}</li>
30 </ol>
31 </nav>
32 <!--end breadcrumb-->
33
34 <!--title-->
35 <div class="main_content">
36 <h2 class="text-center titleSection mb-5">${titolo_value.getData()}</h2>
37 </div>
38 <!--end title-->
39</div>
40
41<section id="floatCard">
42 <div class="float-bg ">
43 <div class="container ">
44 <div class="float-img" style="background: url('${locandina_value.getData()}') no-repeat;"></div>
45
46 <p class="title ">${sommario_value.getData()}</p>
47 <div class="rowHeight">
48
49 <div class="expand-info">
50
51 <p>${testo_value.getData()}</p>
52
53
54 </div>
55
56 </div>
57
58 <div class="collapseButton">
59
60 <a id="expandButtonDetail" title="<@liferay_ui['message'] key='label.sona.approfondimenti.espandi.title' />" aria-label="<@liferay_ui['message'] key='label.sona.approfondimenti.espandi.ariaLabel' /> ${titolo_value.getData()}" href="javascript:void(0);">
61 <span class="exp"><@liferay_ui["message"] key="label.sona.espandi" /></span>
62 <span class="coll"><@liferay_ui["message"] key="label.sona.riduci" /></span></a>
63 <hr>
64 </div>
65
66 <div class="clear-fix"></div>
67
68 </div>
69 </div>
70</section>
71
72
73<#assign sizeGallery = 0 />
74
75<#if galleria_value?? && galleria_value.getSiblings()?has_content && galleria_value.getData()?has_content>
76 <#assign sizeGallery = sizeGallery+galleria_value.getSiblings()?size />
77</#if>
78
79<#if dl_galleria_value?? && dl_galleria_value.getSiblings()?has_content && dl_galleria_value.getData()?has_content>
80 <#assign sizeGallery = sizeGallery+dl_galleria_value.getSiblings()?size />
81</#if>
82
83
84<!-- La sezione Galleria è visibile se sono presenti almeno 4 immagini -->
85<#if sizeGallery > 0>
86 <section class="main_content section-detail">
87 <h2 class="text-center"><@liferay_ui["message"] key="label.sona.approfondimenti.galleria" /></h2>
88 <div class="container">
89 <div class="row">
90 <div class="col-md-12 p-0">
91 <div class="owl-carousel lightbox-slideshow-2">
92 <#list galleria_value.getSiblings() as cur>
93 <#if cur.getData()?? && cur.getData() != "">
94 <div class="wrap-element-slideshow">
95 <div class="expand-image">
96 <button class="" data-toggle="modal" data-target="#fullImage-${cur?index}"
97 title="<@liferay_ui['message'] key='label.sona.approfondimenti.galleria.espandi.title' />"
98 aria-label="<@liferay_ui['message'] key='label.sona.approfondimenti.galleria.espandi.ariaLabel' />"
99 >
100 <span class="sr-only"><@liferay_ui['message'] key='label.sona.espandi' /></span>
101 </button>
102 </div>
103 <div class="lightbox-slideshow-element">
104 <div class="cardButton">
105 <div class="card card-place" style="
106 -webkit-background-size: cover;
107 -moz-background-size: cover;
108 -o-background-size: cover;
109 background-size: cover;
110 background: url('${cur.getData()}') no-repeat;">
111 </div>
112 </div>
113 </div>
114 </div>
115 </#if>
116 </#list>
117
118
119 <!-- list immagini selezionate dalla digital library -->
120 <#if dl_galleria_value?? && dl_galleria_value.getSiblings()?has_content>
121 <#list dl_galleria_value.getSiblings() as cur_dl_galleria_value>
122 <#if cur_dl_galleria_value?? && cur_dl_galleria_value.getData()?has_content && cur_dl_galleria_value?counter < 9>
123 <div class="wrap-element-slideshow">
124
125
126 <#assign
127 risorsaObj = jsonFactoryUtil.createJSONObject(cur_dl_galleria_value.getData())
128 uuid = risorsaObj.getString("uuid")
129 thumbnail = risorsaObj.getString("thumbnail")?has_content?string(themeDisplay.getThemeSettings().UrlThumbnailDefault + risorsaObj.getString("thumbnail"), (themeDisplay.getPathThemeImages() + "/png/biblio_notfound.png"))
130 />
131
132 <!-- BUTTON OPEN MODALE -->
133 <div class="expand-image">
134 <button onclick="gestionePlayerRisorsaDigitale('${uuid}', 'fullDLImage${cur_dl_galleria_value?counter}', true, true)"
135 title="<@liferay_ui['message'] key='label.sona.approfondimenti.galleria.espandi.title' />"
136 aria-label="<@liferay_ui['message'] key='label.sona.approfondimenti.galleria.espandi.ariaLabel' />">
137 </button>
138 </div>
139
140 <div class="lightbox-slideshow-element">
141 <div class="cardButton">
142 <div class="card card-place" style="
143 -webkit-background-size: cover; -moz-background-size: cover;
144 -o-background-size: cover; background-size: cover;
145 background: url('${thumbnail}') no-repeat;">
146 </div>
147 </div>
148 </div>
149 </div>
150 </#if>
151 </#list>
152 </#if>
153
154
155
156 </div>
157 </div>
158 </div>
159 </div>
160 </section>
161
162 <!-- modali immagini galleria -->
163 <#list galleria_value.getSiblings() as cur>
164 <#if cur.getData()?? && cur.getData() != "">
165 <div class="modal fade lightbox" id="fullImage-${cur?index}" tabindex="-1" role="dialog" aria-hidden="true">
166 <div class="modal-dialog" role="document">
167 <div class="modal-content carousel-modal">
168 <div class="immagine-modale" style="
169 -webkit-background-size: cover!important;
170 -moz-background-size: cover!important;
171 -o-background-size: cover!important;
172 background-size: cover!important;
173 background: url('${cur.getData()}') no-repeat; "></div>
174 <button type="button" class="close" data-dismiss="modal" aria-label="Close"
175 title="<@liferay_ui['message'] key='label.sona.approfondimenti.galleria.riduci.title' />"
176 aria-label="<@liferay_ui['message'] key='label.sona.approfondimenti.galleria.riduci.ariaLabel' />">
177 </button>
178 </div>
179 </div>
180 </div>
181 </#if>
182 </#list>
183
184</#if>
185<!--end galleria-->
186
187
188<!-- protagonisti -->
189<#if autoreCollegato?? && autoreCollegato.getSiblings()?has_content>
190 <section class="main_content section-detail">
191 <h2 class="text-center"><@liferay_ui['message'] key='label.sona.approfondimenti.protagonisti' /></h2>
192
193 <div class="container p-0">
194 <div class="row">
195 <#list autoreCollegato.getSiblings() as cur_autore>
196 <!-- INFO ECO PERSON PROVENIENTE DAL GRAFO -->
197 <#assign autoreJson = cur_autore.getData() />
198 <#assign autoreObj = jsonFactoryUtil.createJSONObject(autoreJson) />
199
200 <#assign titoloAut = autoreObj.get("titolo")!"" />
201 <#assign ruoloAut = autoreObj.get("ruolo")!"" />
202 <#assign sourceIdAut = autoreObj.getString("sourceId")!"" />
203 <#assign graphIdAut = autoreObj.getString("graphId")!"" />
204 <#assign immagineAut = autoreObj.get("thumbnail") />
205
206 <div class="col-lg-6">
207 <div class="d-flex search-results-card">
208 <a href="#" class="image no-pointer" style="background-image: url('${immagineAut}');">
209 <span class="d-none">placeholder ${titoloAut}</span>
210 </a>
211
212 <div class="card-content d-flex flex-column">
213 <h4 class="tr-p2">
214 <a href="/web/sona/dettaglio-autore?internalId=${sourceIdAut}&graphId=${graphIdAut}"
215 title="<@liferay_ui['message'] key='label.sona.approfondimenti.protagonisti.dettaglio.title' arguments='${titoloAut}' />"
216 aria-label="<@liferay_ui['message'] key='label.sona.approfondimenti.protagonisti.dettaglio.ariaLabel' arguments='${titoloAut}' />">
217 ${titoloAut}
218 </a>
219 </h4>
220 <span class="tr-p1 info">${ruoloAut}</span>
221 <div class="d-flex justify-content-end mt-auto search-actions">
222 <a href="/web/sona/dettaglio-autore?internalId=${sourceIdAut}&graphId=${graphIdAut}" class="dettaglio"
223 title="<@liferay_ui['message'] key='label.sona.approfondimenti.protagonisti.dettaglio.title' arguments='${titoloAut}' />"
224 aria-label="<@liferay_ui['message'] key='label.sona.approfondimenti.protagonisti.dettaglio.ariaLabel' arguments='${titoloAut}' />">
225 <@liferay_ui['message'] key='label.sona.approfondimenti.protagonisti.dettaglio' />
226 </a>
227 </div>
228 </div>
229 </div>
230 </div>
231 </#list>
232 </div>
233 </div>
234 </section>
235</#if>
236
237
238<!-- RISORSE CORRELATE -->
239<div id="sezionericercatrasversale"></div>
240
241
242<#assign txtRicercaGrafo = "" />
243<#if txt_ricerca_grafo?? >
244 <#assign txtRicercaGrafo = txt_ricerca_grafo.getData() />
245</#if>
246
247<script type="text/javascript">
248$( document ).ready(function() {
249
250 $(document).ready(function () {
251 $('.owl-carousel').owlCarousel({
252 loop: true,
253 margin: 10,
254 responsiveClass: true,
255 responsive: {
256 0: {
257 items: 1.4,
258 nav: true,
259 loop: false,
260 autoplay: false,
261 autoplayTimeout: 4000,
262 autoplayHoverPause: true
263 },
264 600: {
265 items: 3,
266 nav: true,
267 loop: false,
268 autoplay: false,
269 navText: ["<span style='font-size:23px' class='fas fa-arrow-left'></span>", "<span style='font-size:23px' class='fas fa-arrow-right'></span>"]
270 },
271 1200: {
272 items: 4,
273 nav: true,
274 loop: false,
275 autoplay: false,
276 navText: ["<span style='font-size:23px' class='fas fa-arrow-left'></span>", "<span style='font-size:23px' class='fas fa-arrow-right'></span>"]
277 }
278 }
279 });
280
281 var txt_ricerca_grafo = '${txtRicercaGrafo}';
282
283 if(txt_ricerca_grafo != "")
284 loadRisorseRicercaTrasversale(txt_ricerca_grafo, 4, 'sezionericercatrasversale');
285});
286
287
288});
289</script>