HAI HeliExpo 2020 hero banner
Leonardo at HAI Heli-Expo 2020
Follow us on Twitter
@LDO_Helicopters
#haiexpo20
@LDO_Helicopters
#haiexpo20
Leonardo at HAI Heli-Expo 2020 generic content
An error occurred while processing the template.
The following has evaluated to null or missing:
==> ja.getTemplateId [in template "20115#20151#196928" at line 136, column 105]
----
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 jad = journalArticleLocalServ... [in template "20115#20151#196928" at line 136, column 41]
----
1<@leonardo.articleInfo .vars "(V) Generic Web Content"/>
2<#assign rndNamespace = randomNamespace>
3
4<#macro downloadIcon>
5 <svg xmlns="http://www.w3.org/2000/svg" width="14" height="18" viewBox="0 0 14 18">
6 <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"/>
7 </svg>
8</#macro>
9
10<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
11<#assign languageId = languageUtil.getLanguageId(locale) />
12
13<#assign ShareLinkFound = (ShareLink.data)?has_content && getterUtil.getBoolean(ShareLink.getData())>
14<#assign isShareVisible = false>
15<#if FreeArea?? && FreeArea?has_content>
16 <#list FreeArea.getSiblings() as currentArea>
17 <#assign HTMLAreaFound = ((currentArea.HTMLArea.getData())?has_content) >
18 <#assign SectionTitleFound = ((currentArea.SectionTitle.getData())?has_content) >
19 <#assign LinksFound = (leonardo.getTargetUrl((currentArea.Links.getSiblings()[0]).ExternalTargetURL, (currentArea.Links.getSiblings()[0]).LinkTargetPage)?has_content) >
20 <#assign AttachFound = (currentArea.Attach?? && (((currentArea.Attach.getSiblings()[0]).AttachFile).getData()) != "") >
21 <#assign WebContentFound = (currentArea.WebContentArea?? && currentArea.WebContentArea.getData() != "") >
22 <#if (HTMLAreaFound || SectionTitleFound || LinksFound || AttachFound || WebContentFound) >
23 <#break>
24 </#if>
25 </#list>
26</#if>
27
28<style>
29 @media all and (min-width: 1024px) { .share-tp-m { display: none; } }
30 @media all and (max-width: 1023px) { .share-d-tl { display: none; } }
31</style>
32<#if Header.getData() != "" || Description.getData() != "">
33 <div class="section-container section-container--fixed">
34 <div class="internal-header">
35 <#if Header.getData() != "">
36 <#if Header.isH1?? && getterUtil.getBoolean(Header.isH1.getData())>
37 <h1 class="internal-header--header"><@leonardo.escapeTitle title=Header.getData()/></h1>
38 <#else>
39 <div class="internal-header--header"><@leonardo.escapeTitle title=Header.getData()/></div>
40 </#if>
41 </#if>
42 <#if Description.getData() != "">
43 <div class="internal-header--description"><@leonardo.escapeTitle title=Description.getData()/></div>
44 </#if>
45 <#if (!(HTMLAreaFound || SectionTitleFound || LinksFound || AttachFound || WebContentFound) && (ShareLinkFound)) >
46 <style>.leo18 .share-${rndNamespace}1 .section-content--share.social-share-trigger{bottom:0;top: auto;}</style>
47 <div class="sharelink-1 share-d-tl share-${rndNamespace}1">
48 <@leonardo.shareLink/>
49 <#assign isShareVisible = true>
50 </div>
51 </#if>
52 </div>
53 </div>
54</#if>
55<#if FreeArea?? && FreeArea?has_content>
56 <#list FreeArea.getSiblings() as currentArea>
57 <#assign currentHTMLAreaFound = ((currentArea.HTMLArea.getData())?has_content) >
58 <#assign currentSectionTitleFound = ((currentArea.SectionTitle.getData())?has_content) >
59 <#assign currentLinksFound = ( (currentArea.Links)?has_content && leonardo.getTargetUrl((currentArea.Links.getSiblings()[0]).ExternalTargetURL, (currentArea.Links.getSiblings()[0]).LinkTargetPage)?has_content) >
60 <#assign currentAttachFound = (currentArea.Attach?? && (((currentArea.Attach.getSiblings()[0]).AttachFile).getData()) != "") >
61 <#assign currentWebContentFound = (currentArea.WebContentArea?? && currentArea.WebContentArea.getData() != "") >
62
63 <#if (currentHTMLAreaFound || currentSectionTitleFound || currentLinksFound || currentAttachFound) ||
64 (ShareLinkFound && !isShareVisible) >
65 <div class="section-container section-container--fixed generic-content-body">
66 <div class="section-content">
67 <#if currentSectionTitleFound>
68 <div class="section-heading title-freearea tl-wider-side-padding">${currentArea.SectionTitle.getData()!}</div>
69 <#elseif ShareLinkFound && !isShareVisible>
70 <style>div.leonardocompany .share-${rndNamespace}2 .social-share-trigger { top: -65px; }</style>
71 </#if>
72 <#if ShareLinkFound && !isShareVisible>
73 <div class="sharelink-2 share-d-tl share-${rndNamespace}2">
74 <@leonardo.shareLink/>
75 <#assign isShareVisible = true>
76 </div>
77 </#if>
78 <#if currentHTMLAreaFound>
79 <div class="section-content--content">
80 <#assign htmlFormatted = leonardo.expandElementsInPage(currentArea.HTMLArea.getData())>
81 <div class="check-html-content">${htmlFormatted}</div>
82 </div>
83 </#if>
84 <#if currentLinksFound || currentAttachFound >
85 <div class="section-content--action-items">
86 <#if currentArea.Attach?? && currentArea.Attach?has_content >
87 <#list currentArea.Attach.getSiblings() as cur_Attach>
88 <#if cur_Attach.AttachFile?? && cur_Attach.AttachFile.getData() != "" && cur_Attach.Name.getData() != "">
89 <div class="section-content--action-items--download">
90 <#assign file_info = leonardo.findFileEntryInfo(cur_Attach.AttachFile.getData()) >
91 <a class="section-content--action-items--download--link"
92 href="${file_info.downloadUrl}"
93 target="_blank"
94 title="${(file_info.title)!cur_Attach.Name.getData()!}">
95 <@downloadIcon />
96 <span class="section-content--action-items--download--link--filename">
97 ${cur_Attach.Name.getData()!(file_info.title)!}
98 <#if (file_info.fileSize)?has_content>
99 (${file_info.mimeType!}, ${file_info.fileSize!} KB)
100 </#if>
101 </span>
102 </a>
103 </div>
104 </#if>
105 </#list>
106 </#if>
107 <#if currentArea.Links?? && currentArea.Links?has_content >
108 <#list currentArea.Links.getSiblings() as cur_Link>
109 <#assign targetUrl=leonardo.getTargetUrl(cur_Link.ExternalTargetURL, cur_Link.LinkTargetPage)!>
110 <#if targetUrl?has_content>
111 <#assign target=leonardo.getTarget(cur_Link.LinkTargetOpenIn!)!>
112 <div class="section-content--action-items--navigate">
113 <a class="section-content--action-items--navigate--link"
114 href="${targetUrl}"
115 target = "${target}"
116 title="${cur_Link.LinkText.data!}">
117 ${cur_Link.LinkText.data!}
118 <span class="icon--navigate"></span>
119 </a>
120 </div>
121 </#if>
122 </#list>
123 </#if>
124 </div>
125 </#if>
126 </div>
127 </div>
128 </#if>
129 <div class="section-container section-container--fixed">
130 <#if currentWebContentFound>
131 <#assign data = currentArea.WebContentArea.getData()/>
132 <#assign json = jsonFactoryUtil.createJSONObject(data) />
133 <#assign classPK = json.getLong("classPK") />
134 <#if (classPK >0) >
135 <#assign ja = journalArticleLocalService.getLatestArticle(classPK) />
136 <#assign jad = journalArticleLocalService.getArticleDisplay(ja, ja.getTemplateId(), "", languageId, 1, null, themeDisplay) />
137 ${jad.getContent()}
138 </#if>
139 </#if>
140 </div>
141 </#list>
142 <#if ShareLinkFound>
143 <div class="share-tp-m">
144 <div class="section-container section-container--fixed generic-content-body">
145 <div class="sharelink-3 section-content">
146 <@leonardo.shareLink/>
147 </div>
148 </div>
149 </div>
150 </#if>
151 <#if ShareLinkFound>
152 <!-- Social Sharing -->
153 <#assign shareTitle = (Header.getData())!"">
154 <#assign shareDescription = (Description.getData())!"">
155 <@leonardo.socialShareMetaAndLinks shareTitle=shareTitle shareDescription=shareDescription />
156 </#if>
157</#if>
Exhibits
Exhibits
An error occurred while processing the template.
The following has evaluated to null or missing:
==> SeparatorOverview [in template "20115#20151#197212" at line 35, column 35]
----
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 scalingDetails = {"desktop": ... [in template "20115#20151#197212" at line 33, column 1]
----
1<@leonardo.articleInfo .vars "SP-Product-complete-listing"/>
2<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()>
3<#assign isDarkTheme = false>
4<#if currentGroupExpandoBridge.hasAttribute("dark-theme")>
5 <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)>
6</#if>
7
8<#assign
9 journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
10 articleId = .vars['reserved-article-id'].data
11 article = journalArticleLocalService.getArticle(groupId, articleId)
12 productLayout = (article.getLayout()!)
13 isProductPage = false
14 target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self")
15 productDetailURL = ''
16>
17
18<#attempt>
19 <#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) >
20 <#recover>
21</#attempt>
22
23<#if (layout.getGroup().getGroupId()) != (article.getGroupId())>
24 <#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())>
25 <#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')>
26 <#assign productDetailURL = 'https://' + productDetailURL >
27 <#else>
28 <#assign productDetailURL = ''>
29 </#if>
30 <#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()>
31</#if>
32
33<#assign scalingDetails = {
34 "desktop": {"alternateImage": {}, "key": "w_317"},
35 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"},
36 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"},
37 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"}
38}>
39<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )>
40
41<#if (layout.layoutPrototypeUuid)?has_content>
42 <#assign
43 layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService")
44 layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId())
45 >
46 <#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")>
47 <#assign isProductPage = true>
48 </#if>
49</#if>
50<#if (productLayout)?has_content>
51 <#assign url = productDetailURL>
52</#if>
53
54<!--Start Module: Product Card-->
55<div class="product-card invisible">
56 <#if isDarkTheme>
57
58
59 <#if url?has_content>
60 <a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}">
61 </#if>
62 <div class="product-card--graphic-container">
63 <img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png"
64 data-lazy-src-url-d="${dataImg.desktop!}"
65 data-lazy-src-url-tl="${dataImg.tablet_landscape!}"
66 data-lazy-src-url-tp="${dataImg.tablet_portrait!}"
67 data-lazy-src-url-m="${dataImg.mobile!}"/>
68 </div>
69 <div class="product-card--desc">
70 <#assign summary = .vars['reserved-article-description'].data!>
71
72 <#assign maxlength = 160 >
73 <#assign nameLength = SeparatorOverview.ProductName.getData()?length >
74 <#assign maxlength = maxlength - nameLength >
75
76 <#if summary?length gt 1>
77 <h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3>
78 <span class="product-card--desc--link summary" >
79 ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)}
80 </span>
81 <#elseif summary?length == 1>
82 <h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3>
83 <#else>
84 <#if maxlength gte 0>
85 <h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3>
86 <span href="${url!}" target="${target}" class="product-card--desc--link summary" >
87 ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)}
88 </span>
89 <#else>
90 <h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3>
91 </#if>
92 </#if>
93 </div>
94 <#if url?has_content>
95 </a>
96 </#if>
97 <#else>
98 <#if url?has_content>
99 <a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}">
100 </#if>
101 <div class="product-card--graphic-container">
102 <img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png"
103 data-lazy-src-url-d="${dataImg.desktop!}"
104 data-lazy-src-url-tl="${dataImg.tablet_landscape!}"
105 data-lazy-src-url-tp="${dataImg.tablet_portrait!}"
106 data-lazy-src-url-m="${dataImg.mobile!}"/>
107 </div>
108 <div class="product-card--desc">
109 <#assign summary = .vars['reserved-article-description'].data!>
110 <#if summary?length gt 1>
111 <span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!}
112 <#elseif summary?length == 1>
113 <h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3>
114 <#else>
115 <#assign maxlength = 150 >
116 <#assign nameLength = SeparatorOverview.ProductName.getData()?length >
117 <#assign maxlength = maxlength - nameLength >
118 <#if maxlength gte 0>
119 <span class="title">${SeparatorOverview.ProductName.getData()!}</span>
120 ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)}
121 <#else>
122 <span class="title">${SeparatorOverview.ProductName.getData()!}</span>
123 </#if>
124 </#if>
125 </div>
126 <#if url?has_content>
127 </a>
128 </#if>
129 </#if>
130
131 <#if isDarkTheme>
132 <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) >
133 <span class="js-link-product" style="display:none">
134 <a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}">
135
136 <@liferay.language key="link-to-product-page"/>
137 </a>
138 </span>
139 </#if>
140 <span class="js-textModal" style="display:none">
141 ${SeparatorOverview.OverviewText.getData()!}
142 </span>
143 <#if SeparatorOverview.OverviewFileUrl??>
144 <#assign docsDownloadURL = ''>
145 <#if (layout.getGroup().getGroupId()) != (article.getGroupId())>
146 <#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())>
147 <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')>
148 <#assign docsDownloadURL = 'https://' + docsDownloadURL >
149 <#else>
150 <#assign docsDownloadURL = ''>
151 </#if>
152 </#if>
153 <ul class="js-ul-overview" style="display:none">
154 <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList>
155 <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) >
156 <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl != ''>
157 <li class="list-item">
158 <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank">
159 ${itemList.OverviewFileLabel.getData()!}
160 </a>
161 </li>
162 </#if>
163 </#list>
164 </ul>
165 </#if>
166 <#if SeparatorDownloads.DownloadFileURL.getSiblings()?has_content>
167 <ul class="js-ul-download" style="display:none">
168 <#list SeparatorDownloads.DownloadFileURL.getSiblings() as cur_SeparatorDownloads_DownloadFileURL>
169 <#if cur_SeparatorDownloads_DownloadFileURL.DownloadFileLabel.getData()!= '' && cur_SeparatorDownloads_DownloadFileURL.getData() != ''>
170 <li class="list-item">
171 <a href="${cur_SeparatorDownloads_DownloadFileURL.getData()}" target="_blank">
172 ${languageUtil.format(locale, "download-x", cur_SeparatorDownloads_DownloadFileURL.DownloadFileLabel.getData(), false)}
173 </a>
174 </li>
175 </#if>
176 </#list>
177 </ul>
178 </#if>
179 </#if>
180</div>
181<!--End Module: Product Card-->
An error occurred while processing the template.
The following has evaluated to null or missing:
==> SeparatorOverview [in template "20115#20151#197212" at line 35, column 35]
----
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 scalingDetails = {"desktop": ... [in template "20115#20151#197212" at line 33, column 1]
----
1<@leonardo.articleInfo .vars "SP-Product-complete-listing"/>
2<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()>
3<#assign isDarkTheme = false>
4<#if currentGroupExpandoBridge.hasAttribute("dark-theme")>
5 <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)>
6</#if>
7
8<#assign
9 journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
10 articleId = .vars['reserved-article-id'].data
11 article = journalArticleLocalService.getArticle(groupId, articleId)
12 productLayout = (article.getLayout()!)
13 isProductPage = false
14 target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self")
15 productDetailURL = ''
16>
17
18<#attempt>
19 <#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) >
20 <#recover>
21</#attempt>
22
23<#if (layout.getGroup().getGroupId()) != (article.getGroupId())>
24 <#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())>
25 <#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')>
26 <#assign productDetailURL = 'https://' + productDetailURL >
27 <#else>
28 <#assign productDetailURL = ''>
29 </#if>
30 <#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()>
31</#if>
32
33<#assign scalingDetails = {
34 "desktop": {"alternateImage": {}, "key": "w_317"},
35 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"},
36 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"},
37 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"}
38}>
39<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )>
40
41<#if (layout.layoutPrototypeUuid)?has_content>
42 <#assign
43 layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService")
44 layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId())
45 >
46 <#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")>
47 <#assign isProductPage = true>
48 </#if>
49</#if>
50<#if (productLayout)?has_content>
51 <#assign url = productDetailURL>
52</#if>
53
54<!--Start Module: Product Card-->
55<div class="product-card invisible">
56 <#if isDarkTheme>
57
58
59 <#if url?has_content>
60 <a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}">
61 </#if>
62 <div class="product-card--graphic-container">
63 <img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png"
64 data-lazy-src-url-d="${dataImg.desktop!}"
65 data-lazy-src-url-tl="${dataImg.tablet_landscape!}"
66 data-lazy-src-url-tp="${dataImg.tablet_portrait!}"
67 data-lazy-src-url-m="${dataImg.mobile!}"/>
68 </div>
69 <div class="product-card--desc">
70 <#assign summary = .vars['reserved-article-description'].data!>
71
72 <#assign maxlength = 160 >
73 <#assign nameLength = SeparatorOverview.ProductName.getData()?length >
74 <#assign maxlength = maxlength - nameLength >
75
76 <#if summary?length gt 1>
77 <h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3>
78 <span class="product-card--desc--link summary" >
79 ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)}
80 </span>
81 <#elseif summary?length == 1>
82 <h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3>
83 <#else>
84 <#if maxlength gte 0>
85 <h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3>
86 <span href="${url!}" target="${target}" class="product-card--desc--link summary" >
87 ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)}
88 </span>
89 <#else>
90 <h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3>
91 </#if>
92 </#if>
93 </div>
94 <#if url?has_content>
95 </a>
96 </#if>
97 <#else>
98 <#if url?has_content>
99 <a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}">
100 </#if>
101 <div class="product-card--graphic-container">
102 <img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png"
103 data-lazy-src-url-d="${dataImg.desktop!}"
104 data-lazy-src-url-tl="${dataImg.tablet_landscape!}"
105 data-lazy-src-url-tp="${dataImg.tablet_portrait!}"
106 data-lazy-src-url-m="${dataImg.mobile!}"/>
107 </div>
108 <div class="product-card--desc">
109 <#assign summary = .vars['reserved-article-description'].data!>
110 <#if summary?length gt 1>
111 <span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!}
112 <#elseif summary?length == 1>
113 <h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3>
114 <#else>
115 <#assign maxlength = 150 >
116 <#assign nameLength = SeparatorOverview.ProductName.getData()?length >
117 <#assign maxlength = maxlength - nameLength >
118 <#if maxlength gte 0>
119 <span class="title">${SeparatorOverview.ProductName.getData()!}</span>
120 ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)}
121 <#else>
122 <span class="title">${SeparatorOverview.ProductName.getData()!}</span>
123 </#if>
124 </#if>
125 </div>
126 <#if url?has_content>
127 </a>
128 </#if>
129 </#if>
130
131 <#if isDarkTheme>
132 <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) >
133 <span class="js-link-product" style="display:none">
134 <a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}">
135
136 <@liferay.language key="link-to-product-page"/>
137 </a>
138 </span>
139 </#if>
140 <span class="js-textModal" style="display:none">
141 ${SeparatorOverview.OverviewText.getData()!}
142 </span>
143 <#if SeparatorOverview.OverviewFileUrl??>
144 <#assign docsDownloadURL = ''>
145 <#if (layout.getGroup().getGroupId()) != (article.getGroupId())>
146 <#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())>
147 <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')>
148 <#assign docsDownloadURL = 'https://' + docsDownloadURL >
149 <#else>
150 <#assign docsDownloadURL = ''>
151 </#if>
152 </#if>
153 <ul class="js-ul-overview" style="display:none">
154 <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList>
155 <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) >
156 <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl != ''>
157 <li class="list-item">
158 <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank">
159 ${itemList.OverviewFileLabel.getData()!}
160 </a>
161 </li>
162 </#if>
163 </#list>
164 </ul>
165 </#if>
166 <#if SeparatorDownloads.DownloadFileURL.getSiblings()?has_content>
167 <ul class="js-ul-download" style="display:none">
168 <#list SeparatorDownloads.DownloadFileURL.getSiblings() as cur_SeparatorDownloads_DownloadFileURL>
169 <#if cur_SeparatorDownloads_DownloadFileURL.DownloadFileLabel.getData()!= '' && cur_SeparatorDownloads_DownloadFileURL.getData() != ''>
170 <li class="list-item">
171 <a href="${cur_SeparatorDownloads_DownloadFileURL.getData()}" target="_blank">
172 ${languageUtil.format(locale, "download-x", cur_SeparatorDownloads_DownloadFileURL.DownloadFileLabel.getData(), false)}
173 </a>
174 </li>
175 </#if>
176 </#list>
177 </ul>
178 </#if>
179 </#if>
180</div>
181<!--End Module: Product Card-->
An error occurred while processing the template.
The following has evaluated to null or missing:
==> SeparatorOverview [in template "20115#20151#197212" at line 35, column 35]
----
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 scalingDetails = {"desktop": ... [in template "20115#20151#197212" at line 33, column 1]
----
1<@leonardo.articleInfo .vars "SP-Product-complete-listing"/>
2<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()>
3<#assign isDarkTheme = false>
4<#if currentGroupExpandoBridge.hasAttribute("dark-theme")>
5 <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)>
6</#if>
7
8<#assign
9 journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
10 articleId = .vars['reserved-article-id'].data
11 article = journalArticleLocalService.getArticle(groupId, articleId)
12 productLayout = (article.getLayout()!)
13 isProductPage = false
14 target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self")
15 productDetailURL = ''
16>
17
18<#attempt>
19 <#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) >
20 <#recover>
21</#attempt>
22
23<#if (layout.getGroup().getGroupId()) != (article.getGroupId())>
24 <#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())>
25 <#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')>
26 <#assign productDetailURL = 'https://' + productDetailURL >
27 <#else>
28 <#assign productDetailURL = ''>
29 </#if>
30 <#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()>
31</#if>
32
33<#assign scalingDetails = {
34 "desktop": {"alternateImage": {}, "key": "w_317"},
35 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"},
36 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"},
37 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"}
38}>
39<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )>
40
41<#if (layout.layoutPrototypeUuid)?has_content>
42 <#assign
43 layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService")
44 layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId())
45 >
46 <#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")>
47 <#assign isProductPage = true>
48 </#if>
49</#if>
50<#if (productLayout)?has_content>
51 <#assign url = productDetailURL>
52</#if>
53
54<!--Start Module: Product Card-->
55<div class="product-card invisible">
56 <#if isDarkTheme>
57
58
59 <#if url?has_content>
60 <a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}">
61 </#if>
62 <div class="product-card--graphic-container">
63 <img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png"
64 data-lazy-src-url-d="${dataImg.desktop!}"
65 data-lazy-src-url-tl="${dataImg.tablet_landscape!}"
66 data-lazy-src-url-tp="${dataImg.tablet_portrait!}"
67 data-lazy-src-url-m="${dataImg.mobile!}"/>
68 </div>
69 <div class="product-card--desc">
70 <#assign summary = .vars['reserved-article-description'].data!>
71
72 <#assign maxlength = 160 >
73 <#assign nameLength = SeparatorOverview.ProductName.getData()?length >
74 <#assign maxlength = maxlength - nameLength >
75
76 <#if summary?length gt 1>
77 <h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3>
78 <span class="product-card--desc--link summary" >
79 ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)}
80 </span>
81 <#elseif summary?length == 1>
82 <h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3>
83 <#else>
84 <#if maxlength gte 0>
85 <h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3>
86 <span href="${url!}" target="${target}" class="product-card--desc--link summary" >
87 ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)}
88 </span>
89 <#else>
90 <h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3>
91 </#if>
92 </#if>
93 </div>
94 <#if url?has_content>
95 </a>
96 </#if>
97 <#else>
98 <#if url?has_content>
99 <a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}">
100 </#if>
101 <div class="product-card--graphic-container">
102 <img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png"
103 data-lazy-src-url-d="${dataImg.desktop!}"
104 data-lazy-src-url-tl="${dataImg.tablet_landscape!}"
105 data-lazy-src-url-tp="${dataImg.tablet_portrait!}"
106 data-lazy-src-url-m="${dataImg.mobile!}"/>
107 </div>
108 <div class="product-card--desc">
109 <#assign summary = .vars['reserved-article-description'].data!>
110 <#if summary?length gt 1>
111 <span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!}
112 <#elseif summary?length == 1>
113 <h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3>
114 <#else>
115 <#assign maxlength = 150 >
116 <#assign nameLength = SeparatorOverview.ProductName.getData()?length >
117 <#assign maxlength = maxlength - nameLength >
118 <#if maxlength gte 0>
119 <span class="title">${SeparatorOverview.ProductName.getData()!}</span>
120 ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)}
121 <#else>
122 <span class="title">${SeparatorOverview.ProductName.getData()!}</span>
123 </#if>
124 </#if>
125 </div>
126 <#if url?has_content>
127 </a>
128 </#if>
129 </#if>
130
131 <#if isDarkTheme>
132 <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) >
133 <span class="js-link-product" style="display:none">
134 <a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}">
135
136 <@liferay.language key="link-to-product-page"/>
137 </a>
138 </span>
139 </#if>
140 <span class="js-textModal" style="display:none">
141 ${SeparatorOverview.OverviewText.getData()!}
142 </span>
143 <#if SeparatorOverview.OverviewFileUrl??>
144 <#assign docsDownloadURL = ''>
145 <#if (layout.getGroup().getGroupId()) != (article.getGroupId())>
146 <#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())>
147 <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')>
148 <#assign docsDownloadURL = 'https://' + docsDownloadURL >
149 <#else>
150 <#assign docsDownloadURL = ''>
151 </#if>
152 </#if>
153 <ul class="js-ul-overview" style="display:none">
154 <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList>
155 <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) >
156 <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl != ''>
157 <li class="list-item">
158 <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank">
159 ${itemList.OverviewFileLabel.getData()!}
160 </a>
161 </li>
162 </#if>
163 </#list>
164 </ul>
165 </#if>
166 <#if SeparatorDownloads.DownloadFileURL.getSiblings()?has_content>
167 <ul class="js-ul-download" style="display:none">
168 <#list SeparatorDownloads.DownloadFileURL.getSiblings() as cur_SeparatorDownloads_DownloadFileURL>
169 <#if cur_SeparatorDownloads_DownloadFileURL.DownloadFileLabel.getData()!= '' && cur_SeparatorDownloads_DownloadFileURL.getData() != ''>
170 <li class="list-item">
171 <a href="${cur_SeparatorDownloads_DownloadFileURL.getData()}" target="_blank">
172 ${languageUtil.format(locale, "download-x", cur_SeparatorDownloads_DownloadFileURL.DownloadFileLabel.getData(), false)}
173 </a>
174 </li>
175 </#if>
176 </#list>
177 </ul>
178 </#if>
179 </#if>
180</div>
181<!--End Module: Product Card-->
Press releases
Press Releases
29.01.2020 - 17:17
Leonardo: contract with Suzuyo for the establishment of comprehensive AW139 training capabilities in Japan
29.01.2020 - 11:19
Leonardo: the AW189K helicopter achieves first market success with Gulf Helicopters as launch customer
28.01.2020 - 18:26
- Inside Information
Leonardo to acquire Kopter with the aim of extending its helicopter market leadership
29.01.2020 - 17:17
Leonardo: contract with Suzuyo for the establishment of comprehensive AW139 training capabilities in Japan
29.01.2020 - 11:19
Leonardo: the AW189K helicopter achieves first market success with Gulf Helicopters as launch customer
28.01.2020 - 18:26
- Inside Information
Leonardo to acquire Kopter with the aim of extending its helicopter market leadership
Stories
Stories
The AW139: simply no rivals
The AW139 is a phenomenon: This definitive product remains as innovative as ever, 15 years after entering into operation, evolving to keep up with new standards and demands. It is now active in a variety of segments and markets, supporting diverse customers on a wide range of missions. A success in its own right, the AW139 has also been responsible for the AWFamily of new-generation helicopters and has been instrumental in the development of our world-leading customer support and services offering.
The AW139: simply no rivals
Hai Heliexpo 2020 Gallery
News from HAI Heli-Expo 2020
Leonardo Helicopters Philadelphia delivers 300th AW139 helicopter Leonardo has delivered the 300th AW139 assembled at its Philadelphia facility. The aircraft is a Boeing MH-139A Grey Wolf assigned to the US Air Force.