Asset Publisher

Turn Key Services

Turn Key Services

With more than five decades of experience, Leonardo has proven to be an outstanding contractor in the provision of high value, cost effective Turn Key Service solutions.

Catalog

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