Aggregatore Risorse
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryPropertyLocalService") [in template "20115#20151#196965" at line 108, column 54]
----
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 assetCategoryPropertyLocalSer... [in template "20115#20151#196965" in function "getProductImageUUID" at line 108, column 9]
----
1<@leonardo.articleInfo .vars "SP-Product-base"/>
2<#assign rndNamespace = randomNamespace>
3
4<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()>
5<#assign isDarkTheme = false>
6<#if currentGroupExpandoBridge.hasAttribute("dark-theme")>
7 <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)>
8</#if>
9
10
11<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
12<#assign languageId = languageUtil.getLanguageId(locale) />
13
14<#assign jArticle = journalArticleLocalService.getArticle(groupId, .vars['reserved-article-id'].data) >
15<#assign productLayout = (jArticle.getLayout()!)>
16
17<#assign docsDownloadURL = ''>
18<#if (layout.getGroup().getGroupId()) != (jArticle.getGroupId())>
19 <#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())>
20 <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')>
21 <#assign docsDownloadURL = 'https://' + docsDownloadURL >
22 <#else>
23 <#assign docsDownloadURL = ''>
24 </#if>
25</#if>
26
27<#if isDarkTheme && !(hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData())) >
28<#assign scalingDetails = {
29 "desktop": {"alternateImage": {}, "key": "w_317"},
30 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"},
31 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"},
32 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"}
33 }>
34
35
36<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )>
37<div class="product-page-hero-card product-card-modal-container product-base section-hero-card--smallerVersion section-hero-card--wider-page-padding">
38 <div class="product-card-modal">
39 <div class="product-card-modal-text">
40 <div class="modal-title-container">
41 <h1 class="modal-title">
42 ${SeparatorOverview.ProductName.getData()}
43 </h1>
44 </div>
45 <div class="product-card--graphic-container">
46 <img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png"
47 data-src-url-d="${dataImg.desktop!}"
48 data-src-url-tl="${dataImg.tablet_landscape!}"
49 data-src-url-tp="${dataImg.tablet_portrait!}"
50 data-src-url-m="${dataImg.mobile!}"/>
51 </div>
52 <div class="modal-description">
53 ${SeparatorOverview.OverviewText.getData()}
54 </div>
55
56 <#if SeparatorOverview.OverviewFileUrl??>
57 <#assign docsDownloadURL = ''>
58
59 <ul class="js-ul-overview">
60 <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList>
61
62 <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) >
63 <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl != ''>
64 <li class="list-item">
65 <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank">
66 ${itemList.OverviewFileLabel.getData()!}
67 </a>
68 </li>
69 </#if>
70 </#list>
71 </ul>
72 </#if>
73 </div>
74 </div>
75</div>
76<#else>
77<#macro downloadIcon>
78 <svg xmlns="http://www.w3.org/2000/svg" width="14" height="18" viewBox="0 0 14 18">
79 <path fill="#000" fill-rule="nonzero" d="M6.61 12.763l-2.145-2.24a.58.58 0 0 1 0-.796c.211-.22.551-.22.762 0l1.235 1.29V6.75c0-.31.24-.563.538-.563.297 0 .538.252.538.563v4.267l1.235-1.29c.21-.22.551-.22.762 0a.58.58 0 0 1 0 .796l-2.145 2.24a.526.526 0 0 1-.78 0zM12.62 18H1.383C.62 18 0 17.368 0 16.592V5.037c0-.49.19-.968.52-1.314L3.565.544A1.728 1.728 0 0 1 4.82 0h7.797C13.38 0 14 .631 14 1.407v15.186C14 17.37 13.38 18 12.619 18zM4.82 1.125a.682.682 0 0 0-.496.214L1.282 4.52a.755.755 0 0 0-.205.518v11.555c0 .156.137.283.306.283h11.235c.168 0 .305-.127.305-.282V1.407c0-.155-.137-.282-.305-.282H4.821zm-.783 4.5H2.154a.551.551 0 0 1-.539-.563c0-.31.242-.562.539-.562h1.884c.15 0 .27-.126.27-.281V2.25c0-.31.24-.563.538-.563.297 0 .539.252.539.563v1.969c0 .775-.605 1.406-1.347 1.406zm6.193 9.563H3.769a.55.55 0 0 1-.538-.563.55.55 0 0 1 .538-.563h6.462a.55.55 0 0 1 .538.563.55.55 0 0 1-.538.563z"/>
80 </svg>
81</#macro>
82
83<#macro displayDownloadLinks fileUrlElms fileVirtualHost>
84 <div class="section-content--action-items">
85 <#list fileUrlElms as cur_file>
86 <#if cur_file.getData()?? && cur_file.getData() != "">
87 <#assign defLabel = languageUtil.get(locale, "download-brochure")>
88 <div class="section-content--action-items--download">
89 <#assign file_info = leonardo.findFileEntryInfo(cur_file.getData()) >
90
91 <a class="section-content--action-items--download--link"
92 target="_blank"
93 href="${fileVirtualHost}${file_info.downloadUrl}"
94 title='${(file_info.title)!cur_file.OverviewFileLabel.getData()!defLabel}'>
95 <@downloadIcon />
96 <span class="section-content--action-items--download--link--filename">
97 ${(cur_file.OverviewFileLabel.getData())!(file_info.title)!defLabel}
98 </span>
99 </a>
100 </div>
101 </#if>
102 </#list>
103 </div>
104</#macro>
105
106<#function getProductImageUUID plid=-1>
107 <#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")>
108 <#assign assetCategoryPropertyLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryPropertyLocalService")>
109 <#assign layoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService")>
110 <#assign journalArticleResourceLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleResourceLocalService")>
111
112 <#assign groupExpandoBridge = layout.getGroup().getExpandoBridge() />
113 <#assign products_vocabulary_id = (groupExpandoBridge.hasAttribute("products-vocabulary-id")?then(getterUtil.getLong(groupExpandoBridge.getAttribute("products-vocabulary-id", false)),0)) />
114
115 <#if (plid > 0)>
116 <#assign fromLayout = layoutLocalService.fetchLayout(plid)>
117 <#if fromLayout??>
118 <#assign categories = assetCategoryLocalService.getCategories("com.liferay.portal.kernel.model.Layout", fromLayout.getPlid()) />
119 <#list categories as category>
120 <#assign properties = assetCategoryPropertyLocalService.getCategoryProperties(category.getCategoryId())>
121 <#list properties as property>
122 <#if (products_vocabulary_id == category.getVocabularyId()) && (property.key == "uuid-banner-image") && (property.value)?has_content>
123 <#return property.getValue() />
124 </#if>
125 </#list>
126 </#list>
127 <#return getProductImageUUID(fromLayout.getParentPlid())/>
128 </#if>
129 <#elseif (plid < 0)>
130 <#assign from = paramUtil.getString(themeDisplay.getRequest(), "f", "null")>
131 <#assign fromLayout = layout>
132 <#if validator.isNotNull(from) && (from != "/search")>
133 <#assign fromLayout = layoutLocalService.fetchLayoutByFriendlyURL(groupId, false, from)!>
134 <#if validator.isNotNull(fromLayout)>
135 <#assign uuid_banner_image = getProductImageUUID(fromLayout.getPlid()) />
136 </#if>
137 </#if>
138 <#if !((uuid_banner_image)?has_content)>
139 <#assign resourcePrimKey = journalArticleResourceLocalService.getArticleResourcePrimKey(groupId, .vars['reserved-article-id'].data)>
140 <#assign categories = assetCategoryLocalService.getCategories("com.liferay.journal.model.JournalArticle", resourcePrimKey) />
141 <#list categories as category>
142 <#assign properties = assetCategoryPropertyLocalService.getCategoryProperties(category.getCategoryId())>
143 <#list properties as property>
144 <#if (products_vocabulary_id == category.getVocabularyId()) && (property.key == "uuid-banner-image") && (property.value)?has_content>
145 <#return property.getValue() />
146 </#if>
147 </#list>
148 </#list>
149 </#if>
150
151 <#if uuid_banner_image??>
152 <#return uuid_banner_image>
153 </#if>
154 </#if>
155 <#return "">
156</#function>
157
158<#function getImageURL uuid>
159 <#if (uuid?has_content)>
160 <#assign dlFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")>
161 <#assign banner_image = dlFileEntryLocalService.fetchDLFileEntryByUuidAndGroupId(uuid, groupId)! />
162 <#if (banner_image?has_content)>
163 <#assign t = banner_image.getFileVersion().getModifiedDate()! />
164 <#assign url = "/documents/" + banner_image.getRepositoryId()
165 + "/" + banner_image.getFolderId()
166 + "/" + httpUtil.encodePath(banner_image.getFileName())
167 + "/" + banner_image.getUuid() + "?t=" + t?long>
168 <#assign dataImage = {"fileEntryId": banner_image.getFileEntryId(), "fileName": banner_image.getFileName(), "ts": t?long}>
169 <#assign scalingDetails = {
170 "desktop": {"alternateImage": {}, "key": "w_1440"},
171 "tl": {"alternateImage": {}, "key": "h_460"},
172 "tp": {"alternateImage": {}, "key": "h_560"},
173 "mobile": {"alternateImage": {}, "key": "h_400"}
174 }>
175 <#return leonardo.adaptImage(dataImage, scalingDetails)>
176 </#if>
177 </#if>
178 <#return {}>
179</#function>
180<#assign uuid = getProductImageUUID()>
181<#assign bannerImageData = getImageURL(uuid)>
182<!-- default number of visible technical data boxes -->
183<#assign maxTechnicalBoxes = 12>
184
185
186
187
188
189<#assign sectionOFound = false>
190<#assign sectionOHtmlFound = false>
191<#assign sectionFreeArea1 = false>
192<#assign sectionFreeArea2 = false>
193<#assign sectionTDFound = false>
194
195<!--FREE AREA 1 -->
196<#if SeparatorMainFeatures?? && SeparatorMainFeatures.getSiblings()?has_content>
197 <#list SeparatorMainFeatures.getSiblings() as cur_sectionMF>
198 <#if (cur_sectionMF.MFTitle.getData())?has_content ||
199 (cur_sectionMF.MFText.getData())?has_content ||
200 (cur_sectionMF.FreeWebContent.getData())?has_content>
201 <#assign sectionFreeArea1 = true>
202 <#break>
203 </#if>
204 </#list>
205</#if>
206<!--FREE AREA 2 -->
207<#if SeparatorFreeArea2?? && SeparatorFreeArea2.getSiblings()?has_content>
208 <#list SeparatorFreeArea2.getSiblings() as cur_sectionFA2>
209 <#if (cur_sectionFA2.Fa2Text.getData())?has_content ||
210 (cur_sectionFA2.Fa2SectionTitle.getData())?has_content ||
211 (cur_sectionFA2.Fa2WebContent.getData())?has_content>
212 <#assign sectionFreeArea2 = true>
213 <#break>
214 </#if>
215 </#list>
216</#if>
217<#if (SeparatorTechnicalData.TDTitle.getSiblings())?has_content>
218 <#list SeparatorTechnicalData.TDTitle.getSiblings() as cur_sectionTD>
219 <#if cur_sectionTD.getData() != "">
220 <#assign sectionTDFound = true>
221 <#break>
222 </#if>
223 </#list>
224</#if>
225<#if (SeparatorOverview.OverviewText.getData())?has_content ||
226 (SeparatorOverview.OverviewTitle.getData())?has_content>
227 <#assign sectionOFound = true>
228</#if>
229<#if (SeparatorOverview.ContentHtml.getData())?has_content >
230 <#assign sectionOHtmlFound = true>
231</#if>
232<#if (SeparatorOverview.OverviewFileUrl)?has_content>
233 <#assign overviewFileUrlElms = SeparatorOverview.OverviewFileUrl.getSiblings()>
234</#if>
235
236<div class="product-wrapper product-base">
237 <!--Start Module: Hero-->
238 <div class="section-container section-container--fluid">
239 <style>
240 <#if bannerImageData?has_content>
241 .hero-banner-half-image-bck{background-image: url(${bannerImageData.desktop!});}
242 @media all and (min-width: 1024px) and (max-width: 1279px) {
243 .hero-banner-half-image-bck{background-image: url(${bannerImageData.tablet_landscape!});}
244 }
245 @media all and (min-width: 768px) and (max-width: 1023px) {
246 .hero-banner-half-image-bck{background-image: url(${bannerImageData.tablet_portrait!});}
247 }
248 @media all and (max-width: 767px) {
249 .hero-banner-half-image-bck{background-image: url(${bannerImageData.mobile!});}
250 }
251 <#else>
252 .hero-banner-half-image-bck{background-color: black;}
253 </#if>
254 </style>
255
256 <div class="hero">
257 <!--Start Module: Hero Slide-->
258 <div class="hero-slide hero-slide--internal hero-banner-half-image-bck">
259 <div class="hero-slide--content">
260 <h1 class="hero-slide--content--title">${(SeparatorOverview.ProductName.data)!"Product"}</h1>
261 </div>
262 <noscript>
263 <img src="${bannerImageData.desktop!}" alt='${bannerImageData.alt_desktop!}'>
264 <img src="${bannerImageData.tablet_landscape!}" alt='${bannerImageData.alt_tablet_landscape!}'>
265 <img src="${bannerImageData.tablet_portrait!}" alt='${bannerImageData.alt_tablet_portrait!}'>
266 <img src="${bannerImageData.mobile!}" alt='${bannerImageData.alt_mobile!}'>
267 </noscript>
268 </div>
269 <!--End Module: Hero Slide-->
270
271 <!--Start Mixin: Icon Share Primary-->
272 <@leonardo.shareLinkHero/>
273 <!--End Mixin: Icon Share Primary-->
274 </div>
275 </div>
276
277 <!--Start Module: Section Navigator Anchor bar product base-->
278 <div class="section-container section-container--fluid">
279 <div class="section-navigator">
280 <div class="section-navigator--list">
281 <div class="section-container swiper-container--sectionNavigator section-container--fixed">
282 <div class="section-navigator--list--item-wrap swiper-wrapper">
283 <!--Overview-->
284 <#assign defaultValue=languageUtil.get(locale, "section-overview-default")>
285 <a class="section-navigator--list--item swiper-slide active" href="javascript:void(0);"
286 title="${(SeparatorOverview.OverviewTitle.getData())!defaultValue}"
287 data-target=".section-hero-card">
288 ${(SeparatorOverview.OverviewTitle.getData())!defaultValue}</a>
289 <!--Free Area 1 -->
290 <#if sectionFreeArea1 && SeparatorMainFeatures??>
291 <#list SeparatorMainFeatures.getSiblings() as cur_section>
292 <#if (cur_section.Fa1AnchorBarText.getData())?has_content >
293 <a class="section-navigator--list--item swiper-slide" href="javascript:void(0);"
294 title='${(cur_section.Fa1AnchorBarText.getData())}'
295 data-target=".section-content--features-${cur_section?index}">
296 ${(cur_section.Fa1AnchorBarText.getData())!}</a>
297 </#if>
298 </#list>
299 </#if>
300 <!--Technical data-->
301 <#if sectionTDFound = true >
302 <#assign defaultValue=languageUtil.get(locale, "section-techdata-default")>
303 <a class="section-navigator--list--item swiper-slide" href="javascript:void(0)"
304 title='${(SeparatorTechnicalData.TDSectionTitle.getData())!defaultValue}'
305 data-target=".products-technical-data">
306 ${(SeparatorTechnicalData.TDSectionTitle.getData())!defaultValue}</a>
307 </#if>
308 <!--Free Area 2 -->
309 <#if sectionFreeArea2 && SeparatorFreeArea2??>
310 <#list SeparatorFreeArea2.getSiblings() as cur_section>
311 <#if (cur_section.Fa2AnchorBarText.getData())?has_content >
312 <a class="section-navigator--list--item swiper-slide" href="javascript:void(0)"
313 title='${(cur_section.Fa2AnchorBarText.getData())!}'
314 data-target=".section-content--features-fa2-${cur_section?index}">
315 ${(cur_section.Fa2AnchorBarText.getData())!}</a>
316 </#if>
317 </#list>
318 </#if>
319 <!--Contacts-->
320 <a class="section-navigator--list--item anchorbar_products_contacts swiper-slide" href="javascript:void(0)"
321 title='${languageUtil.get(locale, "anchor-contacts")}'
322 data-target=".section-contacts">
323 ${languageUtil.get(locale, "anchor-contacts")}</a>
324 <!--Related Products-->
325 <a class="section-navigator--list--item anchorbar_products_related swiper-slide" href="javascript:void(0)"
326 title='${languageUtil.get(locale, "related-products")}'
327 data-target=".related-products">
328 ${languageUtil.get(locale, "related-products")}</a>
329 </div>
330 </div>
331 <div class="swiper-button-prev section-navigator--scroll--left"><span class="section-navigator--scroll--left--icon"></span></div>
332 <div class="swiper-button-next section-navigator--scroll--right"><span class="section-navigator--scroll--right--icon"></span></div>
333 </div>
334 <div class="section-navigator--spacer"></div>
335 </div>
336 </div>
337
338 <!--End Module: Section Navigator-->
339 <#if sectionOFound = true || sectionOHtmlFound = true>
340
341 <#if (SeparatorOverview.ProductTitle.getData())?has_content>
342 <#assign isMiddle = leonardo.isRadioButtonValue(SeparatorOverview.ProductTitle.ProductTitlePosition, "middle")>
343 <#if (isMiddle=="true")>
344 <#assign forcedStyle = rndNamespace + "forced-style-200">
345 <#else>
346 <#assign forcedStyle = rndNamespace + "forced-style-0">
347 </#if>
348 <style>
349 /*Desktop and tablet landscape viewport*/
350 @media all and (min-width: 1024px) {
351 .section-hero-card .section-grid .section-hero-card--content .section-hero-card--title.${rndNamespace}forced-style-200 {
352 margin-left: -200px !important;
353 }
354 .section-hero-card .section-grid .section-hero-card--content .section-hero-card--title.${rndNamespace}forced-style-0 {
355 margin-left: 0 !important;
356 }
357 }
358 </style>
359 </#if>
360
361 <!--Start Module: Section Hero Cards-->
362 <div class="section-container section-container--fixed">
363 <div class="product-page-hero-card section-hero-card section-hero-card--smallerVersion section-hero-card--wider-page-padding">
364 <div class="section-grid layout--tp-col layout--m-col">
365 <div class="grid grid--tp100p grid--m100p grid--d33p grid--tl33p hidden-on-dark-theme">
366 <#assign scalingDetails = {
367 "desktop": {"alternateImage": {}, "key": "h_480"},
368 "tl": {"alternateImage": (SeparatorOverview.OverviewImage.ImageTl)!, "key": "h_480"},
369 "tp": {"alternateImage": (SeparatorOverview.OverviewImage.ImageTp)!, "key": "w_768"},
370 "mobile": {"alternateImage": (SeparatorOverview.OverviewImage.ImageM)!, "key": "h_300"}
371 }>
372 <#assign overviewImg = leonardo.adaptImage((SeparatorOverview.OverviewImage)!, scalingDetails )>
373 <div class="mr1 section-hero-card--graphic is-light"
374 data-img-url-d="${(overviewImg.desktop)!}"
375 data-img-url-tl="${(overviewImg.tablet_landscape)!}"
376 data-img-url-tp="${(overviewImg.tablet_portrait)!}"
377 data-img-url-m="${(overviewImg.mobile!)}">
378
379 <noscript>
380 <img src="${overviewImg.desktop!}" alt='${overviewImg.alt_desktop!}'>
381 <img src="${overviewImg.tablet_landscape!}" alt='${overviewImg.alt_tablet_landscape!}'>
382 <img src="${overviewImg.tablet_portrait!}" alt='${overviewImg.alt_tablet_portrait!}'>
383 <img src="${overviewImg.mobile!}" alt='${overviewImg.alt_mobile!}'>
384 </noscript>
385 </div>
386 </div>
387 <div class="grid grid--tp100p grid--m100p grid--d67p grid--tl67p">
388 <div class="section-hero-card--content">
389 <#if (SeparatorOverview.ProductTitle.getData())?has_content>
390 <h2 class="section-hero-card--title section-hero-card--title-alwayson ${forcedStyle!}">${(SeparatorOverview.ProductTitle.getData())}</h2>
391 </#if>
392 <#if (SeparatorOverview.OverviewText.getData())?has_content>
393 <h3 class="section-hero-card--description">${SeparatorOverview.OverviewText.getData()}</h3>
394 </#if>
395 <!--download section-->
396 <#if sectionOHtmlFound = false && overviewFileUrlElms??>
397 <@displayDownloadLinks fileUrlElms=overviewFileUrlElms fileVirtualHost=docsDownloadURL/>
398 </#if>
399 </div>
400 </div>
401 </div>
402 </div>
403 </div>
404 <!--End Module: Section Hero Cards-->
405
406 <!--Start Module: Section Content-->
407 <#if SeparatorOverview.ContentHtml.getData() != "">
408 <div class="section-container section-container--fixed generic-content-body">
409 <div class="section-content">
410 <div class="section-content--content">
411 ${SeparatorOverview.ContentHtml.getData()}
412 </div>
413 <#if sectionOHtmlFound = true && overviewFileUrlElms??>
414 <@displayDownloadLinks fileUrlElms=overviewFileUrlElms fileVirtualHost=docsDownloadURL/>
415 </#if>
416 </div>
417 </div>
418 </#if>
419 <!--End Module: Section Content-->
420 </#if>
421
422
423 <!--START MODULE: FREE AREA 1-->
424 <#if sectionFreeArea1 >
425 <#list SeparatorMainFeatures.getSiblings() as cur_sectionMF>
426 <!--Start Module: Section Content-->
427 <#assign showTitleOrText = false>
428 <#if (cur_sectionMF.MFTitle.getData())?has_content ||
429 (cur_sectionMF.MFText.getData())?has_content>
430 <#assign showTitleOrText = true>
431 </#if>
432 <#if showTitleOrText>
433 <div class="section-container section-container--fixed generic-content-body">
434 <div class="section-content">
435 <div class="section-content--content section-content--features-${cur_sectionMF?index}">
436 <!--title-->
437 <#if cur_sectionMF.MFSectionTitle.getData() != "">
438 <div class="4section-content--features--heading section-heading section-heading--center">
439 ${cur_sectionMF.MFSectionTitle.getData()}
440 </div>
441 </#if>
442 <!--text-->
443 <#if cur_sectionMF.MFText.getData() != "">
444 <#assign htmlFormatted = leonardo.expandElementsInPage(cur_sectionMF.MFText.getData())>
445 <div class="check-html-content">${htmlFormatted}</div>
446 </#if>
447 </div>
448 </div>
449 </div>
450 </#if>
451 <#if (cur_sectionMF.FreeWebContent.getData())?has_content>
452 <!--Start Module: Free Web Content -->
453 <div ${(showTitleOrText)?then('','class="section-content--features-'+ cur_sectionMF?index + '"')}>
454 <#assign data = cur_sectionMF.FreeWebContent.getData()/>
455 <#assign json = jsonFactoryUtil.createJSONObject(data) />
456 <#assign classPK = json.getLong("classPK") />
457 <#if (classPK >0) >
458 <#assign ja = journalArticleLocalService.getLatestArticle(classPK) />
459 <#assign jad = journalArticleLocalService.getArticleDisplay(ja, ja.getTemplateId(), "", languageId, 1, null, themeDisplay) />
460 ${jad.getContent()}
461 </#if>
462 </div>
463 <!--End Module: Free Web Content-->
464 </#if>
465 <!--End Module: Section Content-->
466 </#list>
467 </#if>
468 <!--END MODULE: FREE AREA 1-->
469
470 <!-- TECHNICAL DATA -->
471 <#if sectionTDFound = true >
472 <!--Start Module: Products Technical Data-->
473 <div class="section-container section-container--fixed">
474 <div class="products-technical-data" data-expandable="true" data-lazy-load="12">
475 <#if SeparatorTechnicalData.TDSectionTitle.getData() != "">
476 <h2 class="products-technical-data--heading section-heading section-heading--center">
477 ${SeparatorTechnicalData.TDSectionTitle.getData()}
478 </h2>
479 </#if>
480 <div class="products-technical-data--specifications">
481 <#if SeparatorTechnicalData.TDTitle.getSiblings()?has_content>
482 <#list SeparatorTechnicalData.TDTitle.getSiblings() as cur_TDTitle>
483 <div class='products-technical-data--spec invisible'>
484 <#if cur_TDTitle.getData() != "">
485 <div class="products-technical-data--spec--label">${cur_TDTitle.getData()}</div>
486 </#if>
487 <#if cur_TDTitle.TDText.getData() != "">
488 <div class="products-technical-data--spec--value">
489 ${cur_TDTitle.TDText.getData()}
490 </div>
491 </#if>
492 </div>
493 </#list>
494 </#if>
495 </div>
496 <#if SeparatorTechnicalData.TDButtonLabel.getData() != "">
497 <div class="products-technical-data--action-items">
498 <div class="" style="text-align: center;">
499 <button class="btn btn-leo see-more" type="button">${SeparatorTechnicalData.TDButtonLabel.getData()}</button>
500 </div>
501 </div>
502 </#if>
503 </div>
504 </div>
505 <!--End Module: Products Technical Data-->
506 </#if>
507
508 <!--START MODULE: FREE AREA 2 -->
509 <#if sectionFreeArea2 >
510 <#list SeparatorFreeArea2.getSiblings() as cur_sectionFA2>
511 <!--Start Module: Section Content-->
512 <#assign showTitleOrText = false>
513 <#if (cur_sectionFA2.Fa2SectionTitle.getData())?has_content ||
514 (cur_sectionFA2.Fa2Text.getData())?has_content>
515 <#assign showTitleOrText = true>
516 </#if>
517 <#if showTitleOrText>
518 <div class="section-container section-container--fixed generic-content-body">
519 <div class="section-content">
520 <div class="section-content--content section-content--features-fa2-${cur_sectionFA2?index}">
521 <!--title-->
522 <#if cur_sectionFA2.Fa2SectionTitle.getData() != "">
523 <div class="section-content--features--heading section-heading section-heading--center">
524 ${cur_sectionFA2.Fa2SectionTitle.getData()}
525 </div>
526 </#if>
527 <!--text-->
528 <#if cur_sectionFA2.Fa2Text.getData() != "">
529 <#assign htmlFormatted = leonardo.expandElementsInPage(cur_sectionFA2.Fa2Text.getData())>
530 <div class="check-html-content">${htmlFormatted}</div>
531 </#if>
532 </div>
533 </div>
534 </div>
535 </#if>
536 <#if (cur_sectionFA2.Fa2WebContent.getData())?has_content>
537 <!--Start Module: Free Web Content -->
538 <div ${(showTitleOrText)?then('','class="section-content--features-fa2-'+ cur_sectionFA2?index + '"')}>
539 <#assign data = cur_sectionFA2.Fa2WebContent.getData()/>
540 <#assign json = jsonFactoryUtil.createJSONObject(data) />
541 <#assign classPK = json.getLong("classPK") />
542 <#if (classPK >0) >
543 <#assign ja = journalArticleLocalService.getLatestArticle(classPK) />
544 <#assign jad = journalArticleLocalService.getArticleDisplay(ja, ja.getTemplateId(), "", languageId, 1, null, themeDisplay) />
545 ${jad.getContent()}
546 </#if>
547 </div>
548 <!--End Module: Free Web Content-->
549 </#if>
550 <!--End Module: Section Content-->
551 </#list>
552 </#if>
553 <!--END MODULE: FREE AREA 2 -->
554</div>
555
556<!-- Meta description -->
557<#if (layout.getDescription(themeDisplay.locale))?has_content>
558 <#assign metaDesc = layout.getDescription(themeDisplay.locale)>
559<#elseif (.vars['reserved-article-description'].data)?has_content>
560 <#assign metaDesc = .vars['reserved-article-description'].data>
561</#if>
562<#if metaDesc?has_content>
563 ${layout.setDescription(metaDesc)}
564</#if>
565
566<!-- Social Sharing -->
567<#if (overviewImg.desktop)?has_content>
568 <#assign imageFileName = overviewImg.desktop!"" >
569<#elseif (bannerImageData.desktop)?has_content>
570 <#assign imageFileName = bannerImageData.desktop!"" >
571<#else>
572 <#assign imageFileName = "" >
573</#if>
574<#if (SeparatorOverview)?has_content>
575 <#assign shareTitle = (SeparatorOverview.ProductName.getData())!"">
576 <#assign shareDescription = (SeparatorOverview.ProductTitle.getData())!metaDesc!(SeparatorOverview.ProductName.getData())!"">
577
578 <#assign ogType='product'>
579 <@leonardo.socialShareMetaAndLinks shareTitle=shareTitle shareDescription=shareDescription imageFileName=imageFileName ogType=ogType />
580
581</#if>
582</#if>
Airborne and Space Division Contact
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> portletDisplay.portletSetup [in template "20115#20151#196850" at line 5, column 25]
----
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: portlet_setup = portletDisplay.portle... [in template "20115#20151#196850" at line 5, column 9]
----
1<@leonardo.articleInfo .vars "(E) Contact Card"/>
2<#assign portletId = themeDisplay.getPortletDisplay().getId()>
3<#assign languageId = languageUtil.getLanguageId(themeDisplay.request) />
4<#assign
5 portlet_setup = portletDisplay.portletSetup
6 portlet_title = htmlUtil.escape(portlet_setup.getValue("portletSetupTitle_" + languageId, ""))
7 useCustomTitle = getterUtil.getBoolean(portlet_setup.getValue('portletSetupUseCustomTitle', 'false'))
8/>
9<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()>
10<#assign isDarkTheme = false>
11<#if currentGroupExpandoBridge.hasAttribute("dark-theme")>
12 <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)>
13</#if>
14<div class="section-container section-container--fixed contact-card">
15 <div class="section-contacts">
16 <#if useCustomTitle && (portlet_title)?has_content>
17 <h2 class="section-contacts--heading section-heading section-heading--center">${portlet_title}</h2>
18 </#if>
19 <div class="section-contacts--content">
20 <div class="section-grid layout--m-col">
21 <#if !isDarkTheme>
22 <div class="grid grid--d33p grid--tl33p grid--tp50p grid--m100p">
23 <#assign scalingDetails = {
24 "desktop": {"alternateImage": {}, "key": "w_480"},
25 "tl": {"alternateImage": {}, "key": "w_480"},
26 "tp": {"alternateImage": {}, "key": "w_480"},
27 "mobile": {"alternateImage": {}, "key": "w_480"}
28 }>
29 <#assign dataImg = leonardo.adaptImage(Image!, scalingDetails )>
30 <noscript>
31 <img src="${dataImg.desktop!}" alt='${dataImg.alt_desktop!}'>
32 <img src="${dataImg.tablet_landscape!}" alt='${dataImg.alt_tablet_landscape!}'>
33 <img src="${dataImg.tablet_portrait!}" alt='${dataImg.alt_tablet_portrait!}'>
34 <img src="${dataImg.mobile!}" alt='${dataImg.alt_mobile!}'>
35 </noscript>
36 <div class="section-contacts--content--graphic"
37 data-img-url-d="${dataImg.desktop!}"
38 data-img-url-tl="${dataImg.tablet_landscape!}"
39 data-img-url-tp="${dataImg.tablet_portrait!}"
40 data-img-url-m="${dataImg.mobile!}">
41 <#if LinkTitle?? && LinkTitle.getData() != "">
42 <#assign targetUrl=leonardo.getTargetUrl({}, LinkTitle.LinkToPage)!>
43 <#assign target=leonardo.getTarget(LinkTitle.TargetPage!)!>
44 <a class="section-contacts--content--graphic--overlay"
45 href="${targetUrl}"
46 title="${LinkTitle.getData()}"
47 target="${target}">
48 <div class="section-contacts--content--graphic--title"> ${LinkTitle.getData()}</div>
49 <div class="icon--navigate">
50 <svg xmlns="http://www.w3.org/2000/svg" width="25" height="14" viewBox="0 0 25 14">
51 <path fill="#000" fill-rule="evenodd" d="M19.97 5.648l-4.266-4.077L17.136 0l7.126 6.81-7.133 6.69-1.418-1.584 4.445-4.17H0V5.649h19.97z"/>
52 </svg>
53 </div>
54 </a>
55 </#if>
56 </div>
57 </div>
58 </#if>
59 <#assign hasContactUs = false>
60 <#if ContactUsEnabled?? && getterUtil.getBoolean(ContactUsEnabled.getData()) && ContactUsEnabled.ContactUsPage.getData() != "">
61 <#assign hasContactUs = true>
62 </#if>
63 <#if !isDarkTheme || hasContactUs>
64 <div class="grid grid--d67p grid--tl67p grid--tp50p grid--m100p align-self-center">
65 <#else>
66 <div class="grid grid--d33p grid--tl33p grid--tp33p grid--m100p align-self-center">
67 </#if>
68 <div class="section-grid layout--tp-col layout--m-col not-reverse contact-background">
69 <#if !isDarkTheme || hasContactUs>
70 <div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p">
71 <#else>
72 <div class="grid grid--d100p grid--tl100p grid--tp100p grid--m100p">
73 </#if>
74 <div class="section-contacts--content--address-and-phones">
75 <#if ContactName?? && ContactName.getData() != "">
76 <div class="section-contacts--content--address-and-phones--title"><@leonardo.escapeTitle title=ContactName.getData()/></div>
77 </#if>
78 <#if ContactInfo?? && ContactInfo.getData() != "">
79 <div class="section-contacts--content--address-and-phones--address"><@leonardo.escapeTitle title=ContactInfo.getData()/></div>
80 </#if>
81 <#if (ContactEmail)?has_content>
82 <#list ContactEmail.getSiblings() as currentEmail>
83 <#assign emailAddress = (currentEmail.ContactEmailAddress.getData())!"">
84 <div class="section-contacts--content--address-and-phones--email">
85 <#if (currentEmail.ContactEmailLabel.getData())?has_content >
86 ${currentEmail.ContactEmailLabel.getData()}
87 <#if (emailAddress?has_content) && ((emailAddress?length) > 35) >
88 <br>
89 </#if>
90 </#if>
91 <a href="mailto:${emailAddress}">${emailAddress}</a>
92 </div>
93 </#list>
94 </#if>
95 </div>
96 </div>
97 <#if !isDarkTheme || hasContactUs>
98 <div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p align-self-center">
99 <div class="section-contacts--content--contactus">
100 <#if MoreBoxText?? && MoreBoxText.getData() != "">
101 <div class="section-contacts--content--contactus--text"><@leonardo.escapeTitle title=MoreBoxText.getData()/></div>
102 </#if>
103 <#if ContactUsEnabled?? && getterUtil.getBoolean(ContactUsEnabled.getData()) && ContactUsEnabled.ContactUsPage.getData() != "">
104 <a class="section-contacts--content--contactus--link"
105 href="${ContactUsEnabled.ContactUsPage.getFriendlyUrl()}?breadcrumb=${leonardo.breadcrumb(layout)}"
106 title="${ContactUsEnabled.LinkName.getData()!}"
107 target="_self">
108 ${ContactUsEnabled.LinkName.getData()!}<span class="icon--further-action"></span>
109 </a>
110 </#if>
111 </div>
112 </div>
113 </#if>
114 </div>
115 </div>
116 </div>
117 </div>
118 </div>
119</div>
Contacts Portlet
Contatti
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> portletDisplay.portletSetup [in template "20115#20151#196850" at line 5, column 25]
----
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: portlet_setup = portletDisplay.portle... [in template "20115#20151#196850" at line 5, column 9]
----
1<@leonardo.articleInfo .vars "(E) Contact Card"/>
2<#assign portletId = themeDisplay.getPortletDisplay().getId()>
3<#assign languageId = languageUtil.getLanguageId(themeDisplay.request) />
4<#assign
5 portlet_setup = portletDisplay.portletSetup
6 portlet_title = htmlUtil.escape(portlet_setup.getValue("portletSetupTitle_" + languageId, ""))
7 useCustomTitle = getterUtil.getBoolean(portlet_setup.getValue('portletSetupUseCustomTitle', 'false'))
8/>
9<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()>
10<#assign isDarkTheme = false>
11<#if currentGroupExpandoBridge.hasAttribute("dark-theme")>
12 <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)>
13</#if>
14<div class="section-container section-container--fixed contact-card">
15 <div class="section-contacts">
16 <#if useCustomTitle && (portlet_title)?has_content>
17 <h2 class="section-contacts--heading section-heading section-heading--center">${portlet_title}</h2>
18 </#if>
19 <div class="section-contacts--content">
20 <div class="section-grid layout--m-col">
21 <#if !isDarkTheme>
22 <div class="grid grid--d33p grid--tl33p grid--tp50p grid--m100p">
23 <#assign scalingDetails = {
24 "desktop": {"alternateImage": {}, "key": "w_480"},
25 "tl": {"alternateImage": {}, "key": "w_480"},
26 "tp": {"alternateImage": {}, "key": "w_480"},
27 "mobile": {"alternateImage": {}, "key": "w_480"}
28 }>
29 <#assign dataImg = leonardo.adaptImage(Image!, scalingDetails )>
30 <noscript>
31 <img src="${dataImg.desktop!}" alt='${dataImg.alt_desktop!}'>
32 <img src="${dataImg.tablet_landscape!}" alt='${dataImg.alt_tablet_landscape!}'>
33 <img src="${dataImg.tablet_portrait!}" alt='${dataImg.alt_tablet_portrait!}'>
34 <img src="${dataImg.mobile!}" alt='${dataImg.alt_mobile!}'>
35 </noscript>
36 <div class="section-contacts--content--graphic"
37 data-img-url-d="${dataImg.desktop!}"
38 data-img-url-tl="${dataImg.tablet_landscape!}"
39 data-img-url-tp="${dataImg.tablet_portrait!}"
40 data-img-url-m="${dataImg.mobile!}">
41 <#if LinkTitle?? && LinkTitle.getData() != "">
42 <#assign targetUrl=leonardo.getTargetUrl({}, LinkTitle.LinkToPage)!>
43 <#assign target=leonardo.getTarget(LinkTitle.TargetPage!)!>
44 <a class="section-contacts--content--graphic--overlay"
45 href="${targetUrl}"
46 title="${LinkTitle.getData()}"
47 target="${target}">
48 <div class="section-contacts--content--graphic--title"> ${LinkTitle.getData()}</div>
49 <div class="icon--navigate">
50 <svg xmlns="http://www.w3.org/2000/svg" width="25" height="14" viewBox="0 0 25 14">
51 <path fill="#000" fill-rule="evenodd" d="M19.97 5.648l-4.266-4.077L17.136 0l7.126 6.81-7.133 6.69-1.418-1.584 4.445-4.17H0V5.649h19.97z"/>
52 </svg>
53 </div>
54 </a>
55 </#if>
56 </div>
57 </div>
58 </#if>
59 <#assign hasContactUs = false>
60 <#if ContactUsEnabled?? && getterUtil.getBoolean(ContactUsEnabled.getData()) && ContactUsEnabled.ContactUsPage.getData() != "">
61 <#assign hasContactUs = true>
62 </#if>
63 <#if !isDarkTheme || hasContactUs>
64 <div class="grid grid--d67p grid--tl67p grid--tp50p grid--m100p align-self-center">
65 <#else>
66 <div class="grid grid--d33p grid--tl33p grid--tp33p grid--m100p align-self-center">
67 </#if>
68 <div class="section-grid layout--tp-col layout--m-col not-reverse contact-background">
69 <#if !isDarkTheme || hasContactUs>
70 <div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p">
71 <#else>
72 <div class="grid grid--d100p grid--tl100p grid--tp100p grid--m100p">
73 </#if>
74 <div class="section-contacts--content--address-and-phones">
75 <#if ContactName?? && ContactName.getData() != "">
76 <div class="section-contacts--content--address-and-phones--title"><@leonardo.escapeTitle title=ContactName.getData()/></div>
77 </#if>
78 <#if ContactInfo?? && ContactInfo.getData() != "">
79 <div class="section-contacts--content--address-and-phones--address"><@leonardo.escapeTitle title=ContactInfo.getData()/></div>
80 </#if>
81 <#if (ContactEmail)?has_content>
82 <#list ContactEmail.getSiblings() as currentEmail>
83 <#assign emailAddress = (currentEmail.ContactEmailAddress.getData())!"">
84 <div class="section-contacts--content--address-and-phones--email">
85 <#if (currentEmail.ContactEmailLabel.getData())?has_content >
86 ${currentEmail.ContactEmailLabel.getData()}
87 <#if (emailAddress?has_content) && ((emailAddress?length) > 35) >
88 <br>
89 </#if>
90 </#if>
91 <a href="mailto:${emailAddress}">${emailAddress}</a>
92 </div>
93 </#list>
94 </#if>
95 </div>
96 </div>
97 <#if !isDarkTheme || hasContactUs>
98 <div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p align-self-center">
99 <div class="section-contacts--content--contactus">
100 <#if MoreBoxText?? && MoreBoxText.getData() != "">
101 <div class="section-contacts--content--contactus--text"><@leonardo.escapeTitle title=MoreBoxText.getData()/></div>
102 </#if>
103 <#if ContactUsEnabled?? && getterUtil.getBoolean(ContactUsEnabled.getData()) && ContactUsEnabled.ContactUsPage.getData() != "">
104 <a class="section-contacts--content--contactus--link"
105 href="${ContactUsEnabled.ContactUsPage.getFriendlyUrl()}?breadcrumb=${leonardo.breadcrumb(layout)}"
106 title="${ContactUsEnabled.LinkName.getData()!}"
107 target="_self">
108 ${ContactUsEnabled.LinkName.getData()!}<span class="icon--further-action"></span>
109 </a>
110 </#if>
111 </div>
112 </div>
113 </#if>
114 </div>
115 </div>
116 </div>
117 </div>
118 </div>
119</div>
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> portletDisplay.portletSetup [in template "20115#20151#196850" at line 5, column 25]
----
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: portlet_setup = portletDisplay.portle... [in template "20115#20151#196850" at line 5, column 9]
----
1<@leonardo.articleInfo .vars "(E) Contact Card"/>
2<#assign portletId = themeDisplay.getPortletDisplay().getId()>
3<#assign languageId = languageUtil.getLanguageId(themeDisplay.request) />
4<#assign
5 portlet_setup = portletDisplay.portletSetup
6 portlet_title = htmlUtil.escape(portlet_setup.getValue("portletSetupTitle_" + languageId, ""))
7 useCustomTitle = getterUtil.getBoolean(portlet_setup.getValue('portletSetupUseCustomTitle', 'false'))
8/>
9<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()>
10<#assign isDarkTheme = false>
11<#if currentGroupExpandoBridge.hasAttribute("dark-theme")>
12 <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)>
13</#if>
14<div class="section-container section-container--fixed contact-card">
15 <div class="section-contacts">
16 <#if useCustomTitle && (portlet_title)?has_content>
17 <h2 class="section-contacts--heading section-heading section-heading--center">${portlet_title}</h2>
18 </#if>
19 <div class="section-contacts--content">
20 <div class="section-grid layout--m-col">
21 <#if !isDarkTheme>
22 <div class="grid grid--d33p grid--tl33p grid--tp50p grid--m100p">
23 <#assign scalingDetails = {
24 "desktop": {"alternateImage": {}, "key": "w_480"},
25 "tl": {"alternateImage": {}, "key": "w_480"},
26 "tp": {"alternateImage": {}, "key": "w_480"},
27 "mobile": {"alternateImage": {}, "key": "w_480"}
28 }>
29 <#assign dataImg = leonardo.adaptImage(Image!, scalingDetails )>
30 <noscript>
31 <img src="${dataImg.desktop!}" alt='${dataImg.alt_desktop!}'>
32 <img src="${dataImg.tablet_landscape!}" alt='${dataImg.alt_tablet_landscape!}'>
33 <img src="${dataImg.tablet_portrait!}" alt='${dataImg.alt_tablet_portrait!}'>
34 <img src="${dataImg.mobile!}" alt='${dataImg.alt_mobile!}'>
35 </noscript>
36 <div class="section-contacts--content--graphic"
37 data-img-url-d="${dataImg.desktop!}"
38 data-img-url-tl="${dataImg.tablet_landscape!}"
39 data-img-url-tp="${dataImg.tablet_portrait!}"
40 data-img-url-m="${dataImg.mobile!}">
41 <#if LinkTitle?? && LinkTitle.getData() != "">
42 <#assign targetUrl=leonardo.getTargetUrl({}, LinkTitle.LinkToPage)!>
43 <#assign target=leonardo.getTarget(LinkTitle.TargetPage!)!>
44 <a class="section-contacts--content--graphic--overlay"
45 href="${targetUrl}"
46 title="${LinkTitle.getData()}"
47 target="${target}">
48 <div class="section-contacts--content--graphic--title"> ${LinkTitle.getData()}</div>
49 <div class="icon--navigate">
50 <svg xmlns="http://www.w3.org/2000/svg" width="25" height="14" viewBox="0 0 25 14">
51 <path fill="#000" fill-rule="evenodd" d="M19.97 5.648l-4.266-4.077L17.136 0l7.126 6.81-7.133 6.69-1.418-1.584 4.445-4.17H0V5.649h19.97z"/>
52 </svg>
53 </div>
54 </a>
55 </#if>
56 </div>
57 </div>
58 </#if>
59 <#assign hasContactUs = false>
60 <#if ContactUsEnabled?? && getterUtil.getBoolean(ContactUsEnabled.getData()) && ContactUsEnabled.ContactUsPage.getData() != "">
61 <#assign hasContactUs = true>
62 </#if>
63 <#if !isDarkTheme || hasContactUs>
64 <div class="grid grid--d67p grid--tl67p grid--tp50p grid--m100p align-self-center">
65 <#else>
66 <div class="grid grid--d33p grid--tl33p grid--tp33p grid--m100p align-self-center">
67 </#if>
68 <div class="section-grid layout--tp-col layout--m-col not-reverse contact-background">
69 <#if !isDarkTheme || hasContactUs>
70 <div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p">
71 <#else>
72 <div class="grid grid--d100p grid--tl100p grid--tp100p grid--m100p">
73 </#if>
74 <div class="section-contacts--content--address-and-phones">
75 <#if ContactName?? && ContactName.getData() != "">
76 <div class="section-contacts--content--address-and-phones--title"><@leonardo.escapeTitle title=ContactName.getData()/></div>
77 </#if>
78 <#if ContactInfo?? && ContactInfo.getData() != "">
79 <div class="section-contacts--content--address-and-phones--address"><@leonardo.escapeTitle title=ContactInfo.getData()/></div>
80 </#if>
81 <#if (ContactEmail)?has_content>
82 <#list ContactEmail.getSiblings() as currentEmail>
83 <#assign emailAddress = (currentEmail.ContactEmailAddress.getData())!"">
84 <div class="section-contacts--content--address-and-phones--email">
85 <#if (currentEmail.ContactEmailLabel.getData())?has_content >
86 ${currentEmail.ContactEmailLabel.getData()}
87 <#if (emailAddress?has_content) && ((emailAddress?length) > 35) >
88 <br>
89 </#if>
90 </#if>
91 <a href="mailto:${emailAddress}">${emailAddress}</a>
92 </div>
93 </#list>
94 </#if>
95 </div>
96 </div>
97 <#if !isDarkTheme || hasContactUs>
98 <div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p align-self-center">
99 <div class="section-contacts--content--contactus">
100 <#if MoreBoxText?? && MoreBoxText.getData() != "">
101 <div class="section-contacts--content--contactus--text"><@leonardo.escapeTitle title=MoreBoxText.getData()/></div>
102 </#if>
103 <#if ContactUsEnabled?? && getterUtil.getBoolean(ContactUsEnabled.getData()) && ContactUsEnabled.ContactUsPage.getData() != "">
104 <a class="section-contacts--content--contactus--link"
105 href="${ContactUsEnabled.ContactUsPage.getFriendlyUrl()}?breadcrumb=${leonardo.breadcrumb(layout)}"
106 title="${ContactUsEnabled.LinkName.getData()!}"
107 target="_self">
108 ${ContactUsEnabled.LinkName.getData()!}<span class="icon--further-action"></span>
109 </a>
110 </#if>
111 </div>
112 </div>
113 </#if>
114 </div>
115 </div>
116 </div>
117 </div>
118 </div>
119</div>
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> portletDisplay.portletSetup [in template "20115#20151#196850" at line 5, column 25]
----
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: portlet_setup = portletDisplay.portle... [in template "20115#20151#196850" at line 5, column 9]
----
1<@leonardo.articleInfo .vars "(E) Contact Card"/>
2<#assign portletId = themeDisplay.getPortletDisplay().getId()>
3<#assign languageId = languageUtil.getLanguageId(themeDisplay.request) />
4<#assign
5 portlet_setup = portletDisplay.portletSetup
6 portlet_title = htmlUtil.escape(portlet_setup.getValue("portletSetupTitle_" + languageId, ""))
7 useCustomTitle = getterUtil.getBoolean(portlet_setup.getValue('portletSetupUseCustomTitle', 'false'))
8/>
9<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()>
10<#assign isDarkTheme = false>
11<#if currentGroupExpandoBridge.hasAttribute("dark-theme")>
12 <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)>
13</#if>
14<div class="section-container section-container--fixed contact-card">
15 <div class="section-contacts">
16 <#if useCustomTitle && (portlet_title)?has_content>
17 <h2 class="section-contacts--heading section-heading section-heading--center">${portlet_title}</h2>
18 </#if>
19 <div class="section-contacts--content">
20 <div class="section-grid layout--m-col">
21 <#if !isDarkTheme>
22 <div class="grid grid--d33p grid--tl33p grid--tp50p grid--m100p">
23 <#assign scalingDetails = {
24 "desktop": {"alternateImage": {}, "key": "w_480"},
25 "tl": {"alternateImage": {}, "key": "w_480"},
26 "tp": {"alternateImage": {}, "key": "w_480"},
27 "mobile": {"alternateImage": {}, "key": "w_480"}
28 }>
29 <#assign dataImg = leonardo.adaptImage(Image!, scalingDetails )>
30 <noscript>
31 <img src="${dataImg.desktop!}" alt='${dataImg.alt_desktop!}'>
32 <img src="${dataImg.tablet_landscape!}" alt='${dataImg.alt_tablet_landscape!}'>
33 <img src="${dataImg.tablet_portrait!}" alt='${dataImg.alt_tablet_portrait!}'>
34 <img src="${dataImg.mobile!}" alt='${dataImg.alt_mobile!}'>
35 </noscript>
36 <div class="section-contacts--content--graphic"
37 data-img-url-d="${dataImg.desktop!}"
38 data-img-url-tl="${dataImg.tablet_landscape!}"
39 data-img-url-tp="${dataImg.tablet_portrait!}"
40 data-img-url-m="${dataImg.mobile!}">
41 <#if LinkTitle?? && LinkTitle.getData() != "">
42 <#assign targetUrl=leonardo.getTargetUrl({}, LinkTitle.LinkToPage)!>
43 <#assign target=leonardo.getTarget(LinkTitle.TargetPage!)!>
44 <a class="section-contacts--content--graphic--overlay"
45 href="${targetUrl}"
46 title="${LinkTitle.getData()}"
47 target="${target}">
48 <div class="section-contacts--content--graphic--title"> ${LinkTitle.getData()}</div>
49 <div class="icon--navigate">
50 <svg xmlns="http://www.w3.org/2000/svg" width="25" height="14" viewBox="0 0 25 14">
51 <path fill="#000" fill-rule="evenodd" d="M19.97 5.648l-4.266-4.077L17.136 0l7.126 6.81-7.133 6.69-1.418-1.584 4.445-4.17H0V5.649h19.97z"/>
52 </svg>
53 </div>
54 </a>
55 </#if>
56 </div>
57 </div>
58 </#if>
59 <#assign hasContactUs = false>
60 <#if ContactUsEnabled?? && getterUtil.getBoolean(ContactUsEnabled.getData()) && ContactUsEnabled.ContactUsPage.getData() != "">
61 <#assign hasContactUs = true>
62 </#if>
63 <#if !isDarkTheme || hasContactUs>
64 <div class="grid grid--d67p grid--tl67p grid--tp50p grid--m100p align-self-center">
65 <#else>
66 <div class="grid grid--d33p grid--tl33p grid--tp33p grid--m100p align-self-center">
67 </#if>
68 <div class="section-grid layout--tp-col layout--m-col not-reverse contact-background">
69 <#if !isDarkTheme || hasContactUs>
70 <div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p">
71 <#else>
72 <div class="grid grid--d100p grid--tl100p grid--tp100p grid--m100p">
73 </#if>
74 <div class="section-contacts--content--address-and-phones">
75 <#if ContactName?? && ContactName.getData() != "">
76 <div class="section-contacts--content--address-and-phones--title"><@leonardo.escapeTitle title=ContactName.getData()/></div>
77 </#if>
78 <#if ContactInfo?? && ContactInfo.getData() != "">
79 <div class="section-contacts--content--address-and-phones--address"><@leonardo.escapeTitle title=ContactInfo.getData()/></div>
80 </#if>
81 <#if (ContactEmail)?has_content>
82 <#list ContactEmail.getSiblings() as currentEmail>
83 <#assign emailAddress = (currentEmail.ContactEmailAddress.getData())!"">
84 <div class="section-contacts--content--address-and-phones--email">
85 <#if (currentEmail.ContactEmailLabel.getData())?has_content >
86 ${currentEmail.ContactEmailLabel.getData()}
87 <#if (emailAddress?has_content) && ((emailAddress?length) > 35) >
88 <br>
89 </#if>
90 </#if>
91 <a href="mailto:${emailAddress}">${emailAddress}</a>
92 </div>
93 </#list>
94 </#if>
95 </div>
96 </div>
97 <#if !isDarkTheme || hasContactUs>
98 <div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p align-self-center">
99 <div class="section-contacts--content--contactus">
100 <#if MoreBoxText?? && MoreBoxText.getData() != "">
101 <div class="section-contacts--content--contactus--text"><@leonardo.escapeTitle title=MoreBoxText.getData()/></div>
102 </#if>
103 <#if ContactUsEnabled?? && getterUtil.getBoolean(ContactUsEnabled.getData()) && ContactUsEnabled.ContactUsPage.getData() != "">
104 <a class="section-contacts--content--contactus--link"
105 href="${ContactUsEnabled.ContactUsPage.getFriendlyUrl()}?breadcrumb=${leonardo.breadcrumb(layout)}"
106 title="${ContactUsEnabled.LinkName.getData()!}"
107 target="_self">
108 ${ContactUsEnabled.LinkName.getData()!}<span class="icon--further-action"></span>
109 </a>
110 </#if>
111 </div>
112 </div>
113 </#if>
114 </div>
115 </div>
116 </div>
117 </div>
118 </div>
119</div>
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> portletDisplay.portletSetup [in template "20115#20151#196850" at line 5, column 25]
----
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: portlet_setup = portletDisplay.portle... [in template "20115#20151#196850" at line 5, column 9]
----
1<@leonardo.articleInfo .vars "(E) Contact Card"/>
2<#assign portletId = themeDisplay.getPortletDisplay().getId()>
3<#assign languageId = languageUtil.getLanguageId(themeDisplay.request) />
4<#assign
5 portlet_setup = portletDisplay.portletSetup
6 portlet_title = htmlUtil.escape(portlet_setup.getValue("portletSetupTitle_" + languageId, ""))
7 useCustomTitle = getterUtil.getBoolean(portlet_setup.getValue('portletSetupUseCustomTitle', 'false'))
8/>
9<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()>
10<#assign isDarkTheme = false>
11<#if currentGroupExpandoBridge.hasAttribute("dark-theme")>
12 <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)>
13</#if>
14<div class="section-container section-container--fixed contact-card">
15 <div class="section-contacts">
16 <#if useCustomTitle && (portlet_title)?has_content>
17 <h2 class="section-contacts--heading section-heading section-heading--center">${portlet_title}</h2>
18 </#if>
19 <div class="section-contacts--content">
20 <div class="section-grid layout--m-col">
21 <#if !isDarkTheme>
22 <div class="grid grid--d33p grid--tl33p grid--tp50p grid--m100p">
23 <#assign scalingDetails = {
24 "desktop": {"alternateImage": {}, "key": "w_480"},
25 "tl": {"alternateImage": {}, "key": "w_480"},
26 "tp": {"alternateImage": {}, "key": "w_480"},
27 "mobile": {"alternateImage": {}, "key": "w_480"}
28 }>
29 <#assign dataImg = leonardo.adaptImage(Image!, scalingDetails )>
30 <noscript>
31 <img src="${dataImg.desktop!}" alt='${dataImg.alt_desktop!}'>
32 <img src="${dataImg.tablet_landscape!}" alt='${dataImg.alt_tablet_landscape!}'>
33 <img src="${dataImg.tablet_portrait!}" alt='${dataImg.alt_tablet_portrait!}'>
34 <img src="${dataImg.mobile!}" alt='${dataImg.alt_mobile!}'>
35 </noscript>
36 <div class="section-contacts--content--graphic"
37 data-img-url-d="${dataImg.desktop!}"
38 data-img-url-tl="${dataImg.tablet_landscape!}"
39 data-img-url-tp="${dataImg.tablet_portrait!}"
40 data-img-url-m="${dataImg.mobile!}">
41 <#if LinkTitle?? && LinkTitle.getData() != "">
42 <#assign targetUrl=leonardo.getTargetUrl({}, LinkTitle.LinkToPage)!>
43 <#assign target=leonardo.getTarget(LinkTitle.TargetPage!)!>
44 <a class="section-contacts--content--graphic--overlay"
45 href="${targetUrl}"
46 title="${LinkTitle.getData()}"
47 target="${target}">
48 <div class="section-contacts--content--graphic--title"> ${LinkTitle.getData()}</div>
49 <div class="icon--navigate">
50 <svg xmlns="http://www.w3.org/2000/svg" width="25" height="14" viewBox="0 0 25 14">
51 <path fill="#000" fill-rule="evenodd" d="M19.97 5.648l-4.266-4.077L17.136 0l7.126 6.81-7.133 6.69-1.418-1.584 4.445-4.17H0V5.649h19.97z"/>
52 </svg>
53 </div>
54 </a>
55 </#if>
56 </div>
57 </div>
58 </#if>
59 <#assign hasContactUs = false>
60 <#if ContactUsEnabled?? && getterUtil.getBoolean(ContactUsEnabled.getData()) && ContactUsEnabled.ContactUsPage.getData() != "">
61 <#assign hasContactUs = true>
62 </#if>
63 <#if !isDarkTheme || hasContactUs>
64 <div class="grid grid--d67p grid--tl67p grid--tp50p grid--m100p align-self-center">
65 <#else>
66 <div class="grid grid--d33p grid--tl33p grid--tp33p grid--m100p align-self-center">
67 </#if>
68 <div class="section-grid layout--tp-col layout--m-col not-reverse contact-background">
69 <#if !isDarkTheme || hasContactUs>
70 <div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p">
71 <#else>
72 <div class="grid grid--d100p grid--tl100p grid--tp100p grid--m100p">
73 </#if>
74 <div class="section-contacts--content--address-and-phones">
75 <#if ContactName?? && ContactName.getData() != "">
76 <div class="section-contacts--content--address-and-phones--title"><@leonardo.escapeTitle title=ContactName.getData()/></div>
77 </#if>
78 <#if ContactInfo?? && ContactInfo.getData() != "">
79 <div class="section-contacts--content--address-and-phones--address"><@leonardo.escapeTitle title=ContactInfo.getData()/></div>
80 </#if>
81 <#if (ContactEmail)?has_content>
82 <#list ContactEmail.getSiblings() as currentEmail>
83 <#assign emailAddress = (currentEmail.ContactEmailAddress.getData())!"">
84 <div class="section-contacts--content--address-and-phones--email">
85 <#if (currentEmail.ContactEmailLabel.getData())?has_content >
86 ${currentEmail.ContactEmailLabel.getData()}
87 <#if (emailAddress?has_content) && ((emailAddress?length) > 35) >
88 <br>
89 </#if>
90 </#if>
91 <a href="mailto:${emailAddress}">${emailAddress}</a>
92 </div>
93 </#list>
94 </#if>
95 </div>
96 </div>
97 <#if !isDarkTheme || hasContactUs>
98 <div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p align-self-center">
99 <div class="section-contacts--content--contactus">
100 <#if MoreBoxText?? && MoreBoxText.getData() != "">
101 <div class="section-contacts--content--contactus--text"><@leonardo.escapeTitle title=MoreBoxText.getData()/></div>
102 </#if>
103 <#if ContactUsEnabled?? && getterUtil.getBoolean(ContactUsEnabled.getData()) && ContactUsEnabled.ContactUsPage.getData() != "">
104 <a class="section-contacts--content--contactus--link"
105 href="${ContactUsEnabled.ContactUsPage.getFriendlyUrl()}?breadcrumb=${leonardo.breadcrumb(layout)}"
106 title="${ContactUsEnabled.LinkName.getData()!}"
107 target="_self">
108 ${ContactUsEnabled.LinkName.getData()!}<span class="icon--further-action"></span>
109 </a>
110 </#if>
111 </div>
112 </div>
113 </#if>
114 </div>
115 </div>
116 </div>
117 </div>
118 </div>
119</div>
Prodotti Correlati
Non ci sono risultati.