Si è verificato un errore nell'elaborarazione del modello.
For "." left-hand operand: Expected a hash, but this has evaluated to a number (wrapper: f.t.SimpleNumber):
==> layout  [in template "20115#20151#FULLARTICLE" at line 313, column 54]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #if layout.name?? && layout.name?trim...  [in template "20115#20151#FULLARTICLE" at line 313, column 49]
----
1<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()> 
2<#if serviceContext.getThemeDisplay().getThemeSetting("v2-look-and-feel")?has_content && serviceContext.getThemeDisplay().getThemeSetting("v2-look-and-feel")!=""> 
3	<#assign v2_enabled = serviceContext.getThemeDisplay().getThemeSetting("v2-look-and-feel")?boolean /> 
4<#else> 
5	<#assign v2_enabled = false /> 
6</#if> 
7 
8<#if v2_enabled> 
9 
10 
11<!-- Article --> 
12	<#assign url="#"> 
13	<#assign PortalUtil = staticUtil["com.liferay.portal.kernel.util.PortalUtil"] /> 
14	<#assign url=PortalUtil.getCurrentCompleteURL(request) /> 
15	<#assign layoutService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") /> 
16	<#assign portalURL = serviceContext.getThemeDisplay().getPortalURL() /> 
17	<#assign description=.vars['reserved-article-description'].data /> 
18	<#-- 
19	<#assign themeDisplay = serviceContext.getThemeDisplay() /> 
20	<#assign currentUrl = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent() /> 
21	 --> 
22	<#-- Header section --> 
23	<#-- TODO: if we have related content, then we should had the class ".t_fullArticle--hasAside" to the article element right below --> 
24	<#assign hasRelated=false /> 
25	<#if (relatedArticles.relatedLinkToPage)?has_content && relatedArticles.relatedLinkToPage.getSiblings()?first.getData()?has_content> 
26		<#assign hasRelated=true /> 
27		<article class="article-full"> 
28	<#else> 
29		<article class="article-full"> <#-- OR  --> 
30	</#if> 
31 
32    <!-- hero-banner hero-banner--slim --> 
33    <div class="hero-banner"> 
34        <div class="hero-banner__mask"> 
35            <picture> 
36                <img class="lazyload" src="${header.Visual.getData()}" data-fileentryid="${header.Visual.getAttribute("fileEntryId")}" data-src="${header.Visual.getData()}" data-srcset="${header.Visual.getData()}" /> 
37            </picture> 
38            <div class="hero-banner__mask"> 
39                <div class="hero-banner__container"> 
40                    <div class="hero-banner__content text-left"> 
41                        <#if TopContent?has_content> 
42						<#-- BREADCRUMBS --> 
43						<@liferay.breadcrumbs /> 
44						</#if> 
45                        <h1 class="font-bold-publicoheadline font-display-4 color-white">${header.Visual.MainText.getData()}</h1> 
46						<#if header.Visual.TextCenter.getData()?? && header.Visual.TextCenter.getData() != ""> 
47							<p class="hero-banner__text font-medium color-white">${header.Visual.TextCenter.getData()}</p> 
48						</#if> 
49                    </div> 
50                </div> 
51            </div> 
52        </div> 
53    </div> 
54    <!-- /hero-banner --> 
55 
56    <div class="article-full__content pb-4"> 
57        <div class="article-full__container container"> 
58             
59			<!-- tag --> 
60				<#if TopContent?has_content> 
61				<div class="tg__tag"> 
62					<div class="tg__tag--container"> 
63					<#assign journalArticleId = .vars['reserved-article-id'].data> 
64					<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
65					<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")> 
66					<#assign articleResourcePK = journalArticleLocalService.getArticle(groupId,journalArticleId).getArticleResourceUuid()> 
67					<#assign categoryList = assetEntryLocalService.fetchEntry(groupId,articleResourcePK).getCategories()> 
68						<ul class="tg__tag--list"> 
69							<#list categoryList as category> 
70								<li class="tg__tag--element"> 
71									<a class="t_tag__link"> 
72										${category.getTitle(locale)} 
73									</a> 
74								</li> 
75							</#list> 
76						</ul> 
77					</div> 
78				</div> 
79				</#if> 
80            <!-- tag --> 
81			 
82            <div class="article-full__row"> 
83                <div class="article-full__left"> 
84					 
85                    <div class="article-full__text"> 
86                        ${TopContent.getData()} 
87                    </div> 
88					 
89					<#-- Mid content --> 
90					<#if mid_content.getData()?has_content> 
91						<section class="article-full__text"> 
92							<p>${mid_content.getData()}</p> 
93						</section> 
94					</#if> 
95							 
96					<#-- Bottom content --> 
97					<#if bottom_content.getData()?has_content> 
98					<section class="article-full__text"> 
99						<p>${bottom_content.getData()}</p> 
100					</section> 
101					</#if> 
102 
103                </div> 
104                <div class="article-full__right"> 
105                    <!-- Detail 1 --> 
106					 
107					<#if (relatedArticles.relatedLinkToPage.getSiblings())?has_content> 
108						<#list relatedArticles.relatedLinkToPage.getSiblings() as relatedArticle> 
109							<#if relatedArticle?index=0 && relatedArticle.getData()?has_content> 
110							<aside class="article-full__detail mb-3"> 
111								<div class="article-full__container color-white"> 
112								<div class="pb-3"><span class="font-bold-publicoheadline font-display-5"><@liferay.language key="related-assets" /></span></div> 
113								<div class="article-full__detail--data font-normal"> 
114								<#assign layout = relatedArticle.getData()?eval/> 
115								<#if layout.name?? && layout.name?trim!=""> 
116									<#assign pageTitle = layout.name /> 
117								<#elseif layout.label?? && layout.label?trim!=""> 
118									<#assign pageTitle = layout.label /> 
119								<#else> 
120									<#assign pageTitle = "---" /> 
121								</#if> 
122								<p class="article-full__detail--title"><a class="color-white" href="${relatedArticle.getFriendlyUrl()}">${pageTitle}</a></p> 
123							<#elseif relatedArticle.getData()?has_content> 
124								<#assign layout = relatedArticle.getData()?eval/> 
125								<#if layout.name?? && layout.name?trim!=""> 
126									<#assign pageTitle = layout.name /> 
127								<#elseif layout.label?? && layout.label?trim!=""> 
128									<#assign pageTitle = layout.label /> 
129								<#else> 
130									<#assign pageTitle = "---" /> 
131								</#if> 
132								<p class="article-full__detail--title"><a class="color-white" href="${relatedArticle.getFriendlyUrl()}">${pageTitle}</a></p> 
133							</#if> 
134						</#list> 
135						<#if hasRelated> 
136								</div> 
137								</div> 
138							</aside> 
139						</#if> 
140					</#if> 
141					 
142                </div> 
143            </div> 
144        </div> 
145    </div> 
146	 
147	<#-- Get Quote section -->					 
148	<section class="t_block t_quote t_quote--xlarge" style="background-color:${quoting_block.background_color.getData()}"> 
149		<div class="t_block__inner t_quote__inner"> 
150			<h2 class="t_quoteTitle font-display-5 color-white font-medium-publicoheadline">${quoting_block.Title.getData()}</h2> 
151			<p class="t_mainText color-white font-medium">${quoting_block.paragraph.getData()}</p> 
152			<#if quoting_block.Button.LinkText.getData()?? && quoting_block.Button.LinkText.getData() != ""> 
153				<div class="mt-2"> 
154					<a href="${quoting_block.Button.getFriendlyUrl()}" class="btn btn--light-white"> 
155						${quoting_block.Button.LinkText.getData()} 
156					</a> 
157				</div> 
158			</#if> 
159		</div> 
160	</section> 
161	<#-- Get Quote section --> 
162	 
163	<#-- Splitted images section --> 
164	<#if (splitted_images.split_image.getSiblings())?has_content> 
165	<!-- pictures--> 
166	<section class="pictures mt-5"> 
167		<div class="pictures__inline pictures__inline--container"> 
168		 <#list splitted_images.split_image.getSiblings() as image_splitted> 
169				<#if (image_splitted.getData()?has_content 
170				&& image_splitted.getAttribute("fileEntryId")?has_content 
171				&& image_splitted.getAttribute("fileEntryId")?has_content 
172				&& image_splitted.getAttribute("alt")?has_content)> 
173			<div class="pictures__inline pictures__inline--img-fluid"> 
174					<figure class="t_picture__element"> 
175						<img class="pictures__inline pictures__inline--card-img-top lazyload" data-fileentryid="${image_splitted.getAttribute("fileEntryId")}" alt="${image_splitted.getAttribute("alt")}" data-src="${image_splitted.getData()}" /> 
176					</figure> 
177				<div class="pictures__inline pictures__inline--card-img-overlay"> 
178					<p class="pictures__inline pictures__inline--card-title color-white font-bold-publicoheadline font-display-5 pb-3">${image_splitted.split_image_text.getData()}</p> 
179				</div> 
180			</div> 
181				</#if> 
182			</#list> 
183		</div> 
184	</section> 
185	<!-- pictures--> 
186	</#if> 
187	 
188	<#if bottom_links.Picture.getSiblings()?has_content> 
189	<section class="mt-1"> 
190	<h2 class="font-display-4 text-center font-medium-publicoheadline pt-3 pb-5">${bottom_links.bottom_content_title.getData()}</h2> 
191 
192	<div class="article-inline"> 
193 
194			<#list bottom_links.Picture.getSiblings() as cur_Picture>  
195				  <div class="article-inline__card"> 
196					<div class="article-inline__image"> 
197						<#if cur_Picture.getData()?? && cur_Picture.getData() != ""> 
198							<img class="lazyload t_insurance__listElement__picture" data-fileentryid="${cur_Picture.getAttribute("fileEntryId")}" alt="${cur_Picture.getAttribute("alt")}" data-src="${cur_Picture.getData()}" /> 
199						</#if> 
200					</div> 
201					<div class="article-inline__card-body"> 
202					  <h3 class="article-inline__title h2">${cur_Picture.bottom_content_subtitle.getData()}</h3> 
203					  <p class="article-inline__card-text"> 
204						${cur_Picture.Text.getData()} 
205					  </p> 
206					  <#if cur_Picture.Link.TextLink.getData()?? && cur_Picture.Link.TextLink.getData() != ""> 
207					  <div><a href="${cur_Picture.Link.getFriendlyUrl()}"class="link link--secondary-link icons--right icons--east">${cur_Picture.Link.TextLink.getData()}</a></div> 
208						</#if> 
209					</div> 
210				  </div> 
211			</#list>	 
212	</div> 
213	</section> 
214	</#if> 
215								 
216 
217</article> 
218 
219<!-- /Article --> 
220 
221<#else> 
222	<#assign url="#"> 
223	<#assign PortalUtil = staticUtil["com.liferay.portal.kernel.util.PortalUtil"] /> 
224	<#assign url=PortalUtil.getCurrentCompleteURL(request) /> 
225	<#assign layoutService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") /> 
226	<#assign portalURL = serviceContext.getThemeDisplay().getPortalURL() /> 
227	<#assign description=.vars['reserved-article-description'].data /> 
228	<#-- 
229	<#assign themeDisplay = serviceContext.getThemeDisplay() /> 
230	<#assign currentUrl = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent() /> 
231	 --> 
232	<#-- Header section --> 
233	<#-- TODO: if we have related content, then we should had the class ".t_fullArticle--hasAside" to the article element right below --> 
234	<#assign hasRelated=false /> 
235	<#if (relatedArticles.relatedLinkToPage)?has_content && relatedArticles.relatedLinkToPage.getSiblings()?first.getData()?has_content> 
236		<#assign hasRelated=true /> 
237		<article class="t_fullArticle t_fullArticle--hasAside"> 
238	<#else> 
239		<article class="t_fullArticle"> <#-- OR  --> 
240	</#if> 
241 
242		<header> 
243		<#if header.Visual.getData()?? && header.Visual.getData() != ""> 
244			<div class="t_introduction t_block" style="background-image: url('${header.Visual.getData()}')"> 
245		<#else> 
246			<div class="t_introduction t_block"> 
247		</#if> 
248					<#if (header.Visual.backgroundUrl.getData())?? && (header.Visual.backgroundUrl.getData()) != ""  > 
249						<a class="t_introduction_background_url_img" href="${header.Visual.backgroundUrl.getData()}" ></a> 
250					</#if> 
251					<div class="t_introduction__inner t_block__inner"> 
252					<#if header.Visual.TextCenter.getData()?? && header.Visual.TextCenter.getData() != ""> 
253						<p class="t_introduction__subtitle">${header.Visual.TextCenter.getData()}</p> 
254					</#if> 
255					<ul class="t_introduction__informations"> 
256						<li class="t_introduction__information"> 
257							<p class="t_introduction__informationWording t_introduction__informationWording--author">${header.Visual.TextLeft.getData()}</p> 
258						</li> 
259						<li class="t_introduction__information"> 
260							<p class="t_introduction__informationWording">${header.Visual.TextRight.getData()}</p> 
261						</li> 
262					</ul> 
263					<h1 class="t_secondaryTitle">${header.Visual.MainText.getData()}</h1> 
264					<div class="t_introduction__ctas"> 
265						<#if header.Visual.ButtonLeft.ButtonLeftText.getData()?? && header.Visual.ButtonLeft.ButtonLeftText.getData() != ""> 
266							<a href="${header.Visual.ButtonLeft.getFriendlyUrl()}" class="t_button t_button--secondary"> 
267								<span class="t_button__label">${header.Visual.ButtonLeft.ButtonLeftText.getData()}</span> 
268							</a> 
269						</#if> 
270						<#if header.Visual.ButtonRight.ButtonRightText.getData()?? && header.Visual.ButtonRight.ButtonRightText.getData() != ""> 
271							<a href="${header.Visual.ButtonRight.getFriendlyUrl()}" class="t_button t_button--ghost"> 
272								<span class="t_button__label">${header.Visual.ButtonRight.ButtonRightText.getData()}</span> 
273							</a> 
274						</#if> 
275					</div> 
276				</div> 
277			</div> 
278	<#-- Top content --> 
279	<#if TopContent?has_content> 
280			<div class="t_article t_block__inner"> 
281				<#-- BREADCRUMBS --> 
282				<@liferay.breadcrumbs /> 
283				<#-- CATEGORIES --> 
284				<#assign journalArticleId = .vars['reserved-article-id'].data> 
285				<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
286				<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")> 
287				<#assign articleResourcePK = journalArticleLocalService.getArticle(groupId,journalArticleId).getArticleResourceUuid()> 
288				<#assign categoryList = assetEntryLocalService.fetchEntry(groupId,articleResourcePK).getCategories()> 
289				<ul class="t_tags"> 
290					<#list categoryList as category> 
291						<li class="t_tag"> 
292							<a class="t_tag__link" href="#"> 
293								${category.getTitle(locale)} 
294							</a> 
295						</li> 
296					</#list> 
297				</ul> 
298 
299			</div> 
300		</header> 
301 
302		<section class="t_article__content"> 
303			<div class="t_article__text"> 
304				${TopContent.getData()} 
305			</div> 
306			<#if (relatedArticles.relatedLinkToPage.getSiblings())?has_content> 
307				<#list relatedArticles.relatedLinkToPage.getSiblings() as relatedArticle> 
308					<#if relatedArticle?index=0 && relatedArticle.getData()?has_content> 
309					<aside class="t_article__related t_article__related--desktop"> 
310						<h2 class="t_article__relatedTitle"><@liferay.language key="related-assets" /></h2> 
311						<div class="t_article__relatedInner"> 
312						<#assign layout = relatedArticle.getData()?eval/> 
313						<#if layout.name?? && layout.name?trim!=""> 
314							<#assign pageTitle = layout.name /> 
315						<#elseif layout.label?? && layout.label?trim!=""> 
316							<#assign pageTitle = layout.label /> 
317						<#else> 
318							<#assign pageTitle = "---" /> 
319						</#if> 
320						<p class="t_smallText"><a href="${relatedArticle.getFriendlyUrl()}">${pageTitle}</a></p> 
321					<#elseif relatedArticle.getData()?has_content> 
322						<#assign layout = relatedArticle.getData()?eval/> 
323						<#if layout.name?? && layout.name?trim!=""> 
324							<#assign pageTitle = layout.name /> 
325						<#elseif layout.label?? && layout.label?trim!=""> 
326							<#assign pageTitle = layout.label /> 
327						<#else> 
328							<#assign pageTitle = "---" /> 
329						</#if> 
330						<p class="t_smallText"><a href="${relatedArticle.getFriendlyUrl()}">${pageTitle}</a></p> 
331					</#if> 
332				</#list> 
333				<#if hasRelated> 
334						</div> 
335					</aside> 
336				</#if> 
337			</#if> 
338		</section> 
339	</#if> 
340	<#-- Get Quote section --> 
341		<section class="t_block t_quote is-colored" style="background-color:${quoting_block.background_color.getData()}"> 
342			<div class="t_block__inner t_quote__inner"> 
343				<h2 class="t_quoteTitle">${quoting_block.Title.getData()}</h2> 
344				<p class="t_mainText">${quoting_block.paragraph.getData()}</p> 
345				<#if quoting_block.Button.LinkText.getData()?? && quoting_block.Button.LinkText.getData() != ""> 
346					<a href="${quoting_block.Button.getFriendlyUrl()}" class="t_button t_button--ghost"> 
347						<span class="t_button__label">${quoting_block.Button.LinkText.getData()}</span> 
348					</a> 
349				</#if> 
350			</div> 
351		</section> 
352		<#-- Mid content --> 
353		<#if mid_content.getData()?has_content> 
354		<section class="t_text"> 
355			${mid_content.getData()} 
356		</section> 
357		</#if> 
358		<#-- Splitted images section --> 
359		<#if (splitted_images.split_image.getSiblings())?has_content> 
360			<ul class="t_picture t_block"> 
361			<#list splitted_images.split_image.getSiblings() as image_splitted> 
362				<#if (image_splitted.getData()?has_content 
363				&& image_splitted.getAttribute("fileEntryId")?has_content 
364				&& image_splitted.getAttribute("fileEntryId")?has_content 
365				&& image_splitted.getAttribute("alt")?has_content)> 
366				<li class="t_picture__item"> 
367					<figure class="t_picture__element"> 
368						<img class="lazyload t_picture__visual" data-fileentryid="${image_splitted.getAttribute("fileEntryId")}" alt="${image_splitted.getAttribute("alt")}" data-src="${image_splitted.getData()}" /> 
369						<figcaption class="t_picture__legend">${image_splitted.split_image_text.getData()}</figcaption> 
370					</figure> 
371				</li> 
372				</#if> 
373			</#list> 
374			</ul> 
375		</#if> 
376		<#-- Bottom content --> 
377		<#if bottom_content.getData()?has_content> 
378		<section class="t_text"> 
379			${bottom_content.getData()} 
380		</section> 
381		</#if> 
382		<#-- Bottom links section --> 
383		<#if bottom_links?has_content> 
384		<section class="t_insurance"> 
385			<h2 class="t_secondaryTitle">${bottom_links.bottom_content_title.getData()}</h2> 
386			<ul class="t_insurance__list"> 
387			<#if bottom_links.Picture.getSiblings()?has_content> 
388				<#list bottom_links.Picture.getSiblings() as cur_Picture> 
389					<li class="t_insurance__listElement"> 
390						<#if cur_Picture.getData()?? && cur_Picture.getData() != ""> 
391							<img class="lazyload t_insurance__listElement__picture" data-fileentryid="${cur_Picture.getAttribute("fileEntryId")}" alt="${cur_Picture.getAttribute("alt")}" data-src="${cur_Picture.getData()}" /> 
392						</#if> 
393						<div class="t_insurance__listElement__inner"> 
394							<h3 class="t_simpleTitle t_insurance__listElement__title">${cur_Picture.bottom_content_subtitle.getData()}</h3> 
395							<p class="t_smallText"> 
396								${cur_Picture.Text.getData()} 
397							</p> 
398							<a href="${cur_Picture.Link.getFriendlyUrl()}" class="t_link t_insurance__listElement__cta">${cur_Picture.Link.TextLink.getData()} 
399								<svg width="14" height="14" class="t_link__picto" xmlns="http://www.w3.org/2000/svg" role="presentation"> 
400									<use xlink:href="#full-arrow" href="#full-arrow" /> 
401								</svg> 
402							</a> 
403						</div> 
404					</li> 
405				</#list> 
406			</#if> 
407			</ul> 
408		</section> 
409		</#if> 
410	<#-- TODO: if we have related content, then we should had the same content in here (notice the difference in css class) --> 
411	<#if (relatedArticles.relatedLinkToPage)?has_content> 
412		<#list relatedArticles.relatedLinkToPage.getSiblings() as relatedArticle> 
413			<#if relatedArticle?index=0 && relatedArticle.getData()?has_content> 
414				<aside class="t_article__related"> 
415				<h2 class="t_article__relatedTitle"><@liferay.language key="related-assets" /></h2> 
416				<div class="t_article__relatedInner"> 
417				<#assign layout = relatedArticle.getData()?eval/> 
418				<#if layout.name?? && layout.name?trim!=""> 
419					<#assign pageTitle = layout.name /> 
420				<#elseif layout.label?? && layout.label?trim!=""> 
421					<#assign pageTitle = layout.label /> 
422				<#else> 
423					<#assign pageTitle = "---" /> 
424				</#if> 
425				<p class="t_smallText"><a href="${relatedArticle.getFriendlyUrl()}">${pageTitle}</a></p> 
426			<#elseif relatedArticle.getData()?has_content> 
427				<#assign layout = relatedArticle.getData()?eval/> 
428				<#if layout.name?? && layout.name?trim!=""> 
429					<#assign pageTitle = layout.name /> 
430				<#elseif layout.label?? && layout.label?trim!=""> 
431					<#assign pageTitle = layout.label /> 
432				<#else> 
433					<#assign pageTitle = "---" /> 
434				</#if> 
435				<p class="t_smallText"><a href="${relatedArticle.getFriendlyUrl()}">${pageTitle}</a></p> 
436			</#if> 
437		</#list> 
438		<#if hasRelated> 
439				</div> 
440			</aside> 
441		</#if> 
442	</#if> 
443	</article> 
444	<script> 
445	function googleplusbtn(url) { 
446	  sharelink = "https://plus.google.com/share?url="+url; 
447	  newwindow=window.open(sharelink,'name','height=350,width=520'); 
448	  if (window.focus) {newwindow.focus()} 
449	  return false; 
450
451	</script> 
452	<script> 
453		function fbShare(url, title, descr, image, winWidth, winHeight) { 
454			var winTop = (screen.height / 2) - (winHeight / 2); 
455			var winLeft = (screen.width / 2) - (winWidth / 2); 
456			window.open('http://www.facebook.com/sharer.php?s=100&p[title]=' + title + '&p[summary]=' + descr + '&p[url]=' + url + '&p[images][0]=' + image, 'sharer', 'top=' + winTop + ',left=' + winLeft + ',toolbar=0,status=0,width=' + winWidth + ',height=' + winHeight); 
457
458	</script> 
459	<script> 
460	  $('.popup').click(function(event) { 
461		var width  = 575, 
462			height = 400, 
463			left   = ($(window).width()  - width)  / 2, 
464			top	= ($(window).height() - height) / 2, 
465			url	= this.href, 
466			opts   = 'status=1' + 
467					 ',width='  + width  + 
468					 ',height=' + height + 
469					 ',top='	+ top	+ 
470					 ',left='   + left; 
471 
472		window.open(url, 'twitter', opts); 
473 
474		return false; 
475	  }); 
476	</script> 
477</#if>