Canada Content

Canada

We are investing in innovation, technology transfer, intellectual property, research and development, and long-term relationships and partnerships with the Canadian Government, Canadian industry including small to medium enterprises.

Future Aircrew Training launch

Setting the Standard for Future Aircrew Training

Setting the Standard for Future Aircrew Training

Drawing on more than 70 years of aircrew training experience from around the world, Leonardo is a leading provider of civil and military fixed-wing, rotary-wing and mission training services ready to offer an innovative and comprehensive turnkey solution to meet all the Royal Canadian Air Force training requirements.

Canada Video1 Launch

An error occurred while processing the template.
When calling function "getTargetUrl", required parameter "freeUrlObject" (parameter #1) was specified, but had null/missing value.

----
Tip: If the parameter value expression on the caller side is known to be legally null/missing, you may want to specify a default value for it with the "!" operator, like paramValue!defaultValue.
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #function getTargetUrl(freeUrlObject,...  [in template "com.liferay.portal.template.freemarker_7.0.59_CLASS_LOADER_CONTEXT_FTL_leonardocompany.ftl" in function "getTargetUrl" at line 452, column 1]
----
1<@leonardo.articleInfo .vars "(I3) Video Launch"/> 
2<#assign rndNamespace = randomNamespace> 
3<#assign currentLayoutFriendlyURL = themeDisplay.getLayout().getFriendlyURL()?remove_beginning("/") /> 
4 
5<#if currentLayoutFriendlyURL == "home"> 
6	<#assign cssForTitle = "plan-highlights"> 
7<#else> 
8	<#assign cssForTitle = "plan-highlights--investors"> 
9</#if> 
10 
11<#macro downloadIcon> 
12	<svg xmlns="http://www.w3.org/2000/svg" width="14" height="18" viewBox="0 0 14 18"> 
13		<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"/> 
14	</svg> 
15</#macro> 
16<#macro videoBox yt canto video poster> 
17	<div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p"> 
18		<div class="plan-highlights--wrapper"> 
19			<#if canto> 
20				<div class="leo-video canto-video"  
21					data-video-data='{ 
22						&quot;showControls&quot;:true, 
23						&quot;videoSources&quot;:[ 
24							"${video}" 
25						], 
26						&quot;posters&quot;:{ 
27							&quot;desktop&quot;:&quot;${poster.desktop!}&quot;, 
28							&quot;tabletLandscape&quot;:&quot;${poster.tablet_landscape!}&quot;, 
29							&quot;tabletPortrait&quot;:&quot;${poster.tablet_portrait!}&quot;, 
30							&quot;mobile&quot;:&quot;${poster.mobile!}&quot; 
31						}}'  
32					data-img-url-d="${poster.desktop!}"  
33					data-img-url-tl="${poster.tablet_landscape!}"  
34					data-img-url-tp="${poster.tablet_portrait!}"  
35					data-img-url-m="${poster.mobile!}"> 
36				</div> 
37			<#elseif yt> 
38				<div class="youtube-player-container "  
39					data-video-id="${video}"  
40					data-div-id = "${randomNamespace}${video}" 
41					data-img-url-d="${poster.desktop!}"  
42					data-img-url-tl="${poster.tablet_landscape!}"  
43					data-img-url-tp="${poster.tablet_portrait!}"  
44					data-img-url-m="${poster.mobile!}" 
45					data-use-no-cookie-domain="true"  
46					data-play-fullscreen="true"  
47					data-video-controls="true" 
48					tabindex="1"> 
49					<div class="youtube-player" id="${randomNamespace}${video}"></div> 
50				</div> 
51			<#else> 
52				<div class="leo-video"  
53					data-video-data="{ 
54						&quot;showControls&quot;:true, 
55						&quot;videoSources&quot;:[ 
56							${video} 
57						], 
58						&quot;posters&quot;:{ 
59							&quot;desktop&quot;:&quot;${poster.desktop!}&quot;, 
60							&quot;tabletLandscape&quot;:&quot;${poster.tablet_landscape!}&quot;, 
61							&quot;tabletPortrait&quot;:&quot;${poster.tablet_portrait!}&quot;, 
62							&quot;mobile&quot;:&quot;${poster.mobile!}&quot; 
63						}}"  
64					data-img-url-d="${poster.desktop!}"  
65					data-img-url-tl="${poster.tablet_landscape!}"  
66					data-img-url-tp="${poster.tablet_portrait!}"  
67					data-img-url-m="${poster.mobile!}"> 
68				</div> 
69			</#if> 
70		</div> 
71	</div> 
72</#macro> 
73 
74<#if VideoInfo.Video.getData() != "" ||  VideoInfo.YoutubeId.getData() != "" ||  VideoInfo.CantoUrl.getData() != "" > 
75 
76	<#assign isLeft = (VideoInfo.ImagePosition?? && VideoInfo.ImagePosition.getData() != "" && !(VideoInfo.ImagePosition.getData())?contains("right")) > 
77	 
78	<#assign scalingDetails = { 
79		 "desktop": {"alternateImage": {}, "key": "w_720"}, 
80		 "tl": {"alternateImage": VideoInfo.Image.ImageTl!, "key": "h_695"}, 
81		 "tp": {"alternateImage": VideoInfo.Image.ImageTp!, "key": "w_768"}, 
82		 "mobile": {"alternateImage": VideoInfo.Image.ImageM!, "key": "w_375"} 
83	}> 
84	<#assign posterImg = leonardo.adaptImage(VideoInfo.Image!, scalingDetails )> 
85	 
86	<noscript> 
87		<img src="${posterImg.desktop!}" alt='${posterImg.alt_desktop!}'> 
88		<img src="${posterImg.tablet_landscape!}" alt='${posterImg.alt_tablet_landscape!}'> 
89		<img src="${posterImg.tablet_portrait!}" alt='${posterImg.alt_tablet_portrait!}'> 
90		<img src="${posterImg.mobile!}" alt='${posterImg.alt_mobile!}'> 
91	</noscript> 
92	 
93	<#assign isYt = (VideoInfo.YoutubeId.getData() != "") > 
94	<#assign isCanto = (VideoInfo.CantoUrl.getData())?has_content && (VideoInfo.CantoUrl.getData() != "") > 
95 
96	<#if (VideoInfo.CantoUrl.getData())?has_content && VideoInfo.CantoUrl.getData() != ""> 
97		<#assign videoStr = VideoInfo.CantoUrl.getData()> 
98	<#elseif VideoInfo.YoutubeId.getData() != ""> 
99		<#assign videoStr = VideoInfo.YoutubeId.getData()> 
100	<#elseif VideoInfo.Video.getSiblings()?has_content> 
101		<#assign videoStr = ""> 
102		<#list VideoInfo.Video.getSiblings() as cur_Video> 
103			<#assign videoFile = cur_Video.getData()> 
104			<#assign videoFileType = cur_Video.VideoType.getData()> 
105			<#if videoStr?? && videoStr != ""> 
106				<#assign videoStr = videoStr + ","> 
107			</#if> 
108			<#assign videoStr = videoStr + "{&quot;src&quot;:&quot;" + videoFile + "&quot;,&quot;type&quot;:&quot;" + videoFileType + "&quot;}"> 
109		</#list> 
110	</#if> 
111 
112	<!--Start Module: Plan Highlights--> 
113	<div class="section-container section-container--fixed"> 
114		<#if TextInfo.Title.isAnchorEnabled?? && getterUtil.getBoolean(TextInfo.Title.isAnchorEnabled.getData())> 
115			<#assign labelIsLeft = ((TextInfo.Title.isAnchorEnabled.AnchorText.LabelPosition.getData())!"left") == "left"> 
116			<div class="section-grid layout--tp-col layout--m-col"> 
117				<#if !labelIsLeft > 
118					<div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p"></div> 
119				</#if> 
120				<div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p"> 
121					<!--Start Module: Goto--> 
122					<#if TextInfo.Title.isAnchorEnabled.AnchorText.getData() != "" > 
123						<a class='goto ${(!labelIsLeft)?then("goto--icon-left","")}' href="javascript:void(0)" title="Scroll to next section">${TextInfo.Title.isAnchorEnabled.AnchorText.getData()}<span class="icon--goto"></span></a> 
124					</#if> 
125					<!--End Module: Goto--> 
126				</div> 
127				<#if labelIsLeft> 
128					<div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p"></div> 
129				</#if> 
130			</div> 
131		</#if> 
132		<div class="${cssForTitle}"> 
133			<div class="section-grid ${(!isLeft)?then('layout--tp-col-reverse layout--m-col-reverse','layout--tp-col layout--m-col')}"> 
134				<#if isLeft > 
135					<@videoBox yt=isYt canto=isCanto video=videoStr poster=posterImg /> 
136				</#if> 
137				<div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p"> 
138					<!--Start Module: Highlights Pitch--> 
139					<div class="highlights-pitch"> 
140						<#if TextInfo.Title.getData() != "" > 
141							<#if TextInfo.Title.isH1?? && getterUtil.getBoolean(TextInfo.Title.isH1.getData())> 
142								<h1 class="highlights-pitch--title"><@leonardo.escapeTitle title=TextInfo.Title.getData()/></h1> 
143							<#else> 
144								<h2 class="highlights-pitch--title"><@leonardo.escapeTitle title=TextInfo.Title.getData()/></h2> 
145							</#if> 
146							<#if TextInfo.Title.Description?? && TextInfo.Title.Description.getData() != "" > 
147								<h3 class="highlights-pitch--description"><@leonardo.escapeTitle title=TextInfo.Title.Description.getData()/></h3> 
148							</#if> 
149						</#if> 
150						<#if TextInfo.Title.Attach?? && TextInfo.Title.Attach.getData() != ""> 
151							<div class="highlights-pitch--file-downloads"> 
152							<#list TextInfo.Title.Attach.getSiblings() as cur_file> 
153								<#assign file_info = leonardo.findFileEntryInfo(cur_file.getData()) > 
154								<div class="highlights-pitch--file"> 
155									<a class="file"  
156									   href="${file_info.downloadUrl}"  
157									   target="_blank"> 
158										<@downloadIcon /> 
159										<span class="highlights-pitch--file--filename"> 
160										${(cur_file.Label.getData())!(file_info.title)!} 
161										</span> 
162									</a> 
163								</div> 
164							</#list> 
165							</div> 
166						</#if> 
167						<#assign opened = false> 
168						<#if Links?has_content> 
169							<#list Links.getSiblings() as cur_Link> 
170								<#assign targetUrl=leonardo.getTargetUrl(cur_Link.ExternalTargetURL, cur_Link.LinkTargetPage)!> 
171								<#if targetUrl?has_content> 
172									<#assign target=leonardo.getTarget(cur_Link.LinkTargetOpenIn!)!> 
173									<#if opened = false> 
174								<div class="section-hero-card--targets" > 
175										<#assign opened = true> 
176									</#if> 
177									<div class="section-hero-card--target"> 
178										<a class="section-hero-card--target--link"  
179										   href="${targetUrl}"  
180										   target = "${target}"  
181										   title="${cur_Link.LinkText.data!}" > 
182										   ${cur_Link.LinkText.data!} 
183										   <span class="icon--read-more"></span> 
184										</a> 
185									</div> 
186								</#if> 
187							</#list> 
188							<#if opened> 
189								</div> 
190							</#if> 
191						</#if> 
192					</div> 
193					<!--End Module: Highlights Pitch--> 
194				</div> 
195				<#if !isLeft > 
196					<@videoBox yt=isYt canto=isCanto video=videoStr poster=posterImg /> 
197				</#if> 
198			</div> 
199		</div> 
200	</div> 
201	<!--End Module: Plan Highlights--> 
202<#else> 
203	<!-- No video selected --> 
204</#if> 

Canada Video2 Launch

Facts &amp; Figures

We have been present in the Country for over 50 years. Today, we have 400 highly skilled employees at five operating sites, and we are ready to provide comprehensive, competitive turn-key solutions that meet our Canadian customers’ requirements.

where-we-are Portlet

Where we are

Ottawa

Leonardo Canada

Leonardo’s Canadian subsidiary is based in Ottawa. Purpose built to serve the Canadian market, Leonardo’s Canadian team leverages and draws upon the full strength and depth of the global company. Leonardo coordinates all commercial activities in Canada through the Ottawa-based team, including those activities related to Defence and Defence Systems, Aeronautics programs for Air Traffic Control, Cyber Security and Automation with focus on solutions for airports, postal operators and couriers.

Contacts

55 Metcalfe street, suite 540
Ottawa, ON – Canada
K1P 6L5
T: +1- 613-235-0353
E: leonardocanada@leonardocompany.com

For customer support assistance inquiries, please refer to our international network: https://www.leonardocompany.com/en/services/international-network



Tactical Technologies Inc.

We produce Tactical Engagement Simulation Software for the international Electronic Warfare market, used in more than thirty EW Operational Support Centers, Air and Maritime Walfare Centers, Intelligence Agencies, Operational Research, and EW Engineering Agencies around the world.


Contacts

2685 Queensview Dr
Ottawa, ON – Canada

T: +1(613)8280775

Kanata

DRS Technologies Canada Ltd.

We manufacture and support a broad range of military communications, electro-optics, surveillance and sensor signal processing systems for naval and ground applications.

Contacts

500 Palladium Drive
Suite 1100
Kanata, ON – Canada
K2V 1C2
T: +1 613 591 5800
T: +1 613 591 5801
E: business_dev@drs.ca

Halifax

Leonardo DRS Pivotal Power

Based in Halifax, Nova Scotia, we design and manufacture full MIL-SPEC qualified power conversion and distribution equipment including uninterruptible power supplies (UPS), power conditioners, rectifiers, power converters, and battery chargers for military shipboard, vehicle and air force applications.

Contacts

Nancy Preeper
DRS Pivotal Power
Halifax, Nova Scotia, Canada
T: +1 902 210 6441
E: npreeper@drs.ca

Canada info Wall 1

Our capabilities and solutions

Helicopters

Nearly 50 Leonardo helicopters are operational in Canada for civil, public utility and military operations. Our dedicated network delivers certified support across the country. Our top-ranked customer support team provides advanced training and simulation packages and offers comprehensive maintenance plans tailored to each customer. Leonardo Canada is part of the Team Cormorant proposal to upgrade and expand the Royal Canadian Air Force’s Rotary Wing Search and Rescue Cormorant fleet.

Aircraft

Our aerostructures, made of composite or traditional alloys, fly over Canada with Airbus, Boeing and Dassault airplanes in support of commercial and general aviation. We have 40 ATR turboprop regional aircraft providing passenger and freight services across Canada. As world leader in the training sector, we are ready to offer Canada our integrated training system ability to cover the entire pilot training syllabus, from basic training on the new M-345 – designated Tutor II in Canada for the Future Aircrew Training (FAcT) and Snowbirds Replacement Programs -  into the basic-advanced phase with the M-346.

Electronics and Defence

We deliver solutions ready to serve the Canadian Armed Forces’ most complex requirements. We manufacture and support a broad range of air, land and naval integrated mission systems, radars and sensors, military communications, electro-optics, surveillance, and integrated combat systems. Through our local presence including Leonardo DRS, we have a record of service to the Canadian Government and armed forces for over 50 years with systems and services for air, land, naval and space applications.

Canada info Wall 3

Unmanned Aerial Systems

We are the only manufacturer in Europe with a combined experience in platforms, remote control and sensor development. Our tactical Unmanned Aerial Systems equipped with our proprietary sensors are in operations in 5 countries worldwide.
With tactical rotary and fixed wing, optionally piloted Rotary Unmanned Air Systems (RUAS), aerial targets and as key partner in all major European Unmanned Combat Aerial Vehicle (UCAV) and Medium-Altitude Long-Endurance (MALE) unmanned aerial vehicle initiatives, we are at the forefront of autonomous flight.

Canada info Wall 2

Cyber and Physical Security

In addressing public safety and security – ranging from counter-terrorism to the fight against organized crime, from emergency management response to critical infrastructures protection – we deliver comprehensive solutions integrating cyber intelligence, data mining, mission critical communications, video surveillance and video analytics, access control and anti-intrusion devices. These ‘systems of systems’ are tailored for a variety of complex security environments, connecting multiple sites and thousands of sensors.

Investigation Support &amp; Threat Intelligence Systems

We provide systems and services to foresee and prevent cyber threats against the Canadian government, its critical infrastructures and enterprise organizations. We support law enforcement in proactive forensics gathering and investigations. We provide on premises solutions based on the monitoring and analysis of large amounts of open source data, in the deep web and dark nets, aimed at detecting cyber attacks being prepared and information illegally stolen and published on the web.

Space

We are ready to contribute to Canada’s future in Space leveraging our capabilities in the Electronics Division and the Telespazio and Thales Alenia Space JVs. Through the Space Alliance, the strategic partnership between Leonardo and Thales, we are investing in NorthStar Earth and Space Inc., a Montréal based information services company, bringing in business and technical expertise. Together, we provide solutions for the design, development and realization of a unique 40 satellite constellation based on double equipped satellites to provide Space Situational Awareness and Geo Information services.

highlight-web Portlet

Press Releases

01.09.2021 - 16:16
Canada to employ Leonardo Osprey radar in environmental protection role
11.08.2021 - 14:24
Babcock Canada and Leonardo Canada join forces to support the country’s Future Aircrew Training (FAcT) program
14.05.2021 - 17:33
Babcock Canada and Leonardo Canada join Forces for Canada’s Future Aircrew Training (FAcT) Program
22.04.2021 - 15:57
Leonardo to supply systems for the Royal Canadian Navy’s new Canadian Surface Combatants
29.03.2021 - 12:18
Leonardo and CAE team up to support International Flight Training School in Italy
08.05.2020 - 12:31
M-345: Leonardo’s new jet trainer certified and ready for the global market
01.09.2021 - 16:16
Canada to employ Leonardo Osprey radar in environmental protection role
11.08.2021 - 14:24
Babcock Canada and Leonardo Canada join forces to support the country’s Future Aircrew Training (FAcT) program
14.05.2021 - 17:33
Babcock Canada and Leonardo Canada join Forces for Canada’s Future Aircrew Training (FAcT) Program
22.04.2021 - 15:57
Leonardo to supply systems for the Royal Canadian Navy’s new Canadian Surface Combatants
29.03.2021 - 12:18
Leonardo and CAE team up to support International Flight Training School in Italy
08.05.2020 - 12:31
M-345: Leonardo’s new jet trainer certified and ready for the global market

List Content Viewer

Latest news & stories

M-345 Tutor video

Our offer

Our offer
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--> 
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--> 
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--> 

drsCanada POI