news - page info 2019

Aggregatore Risorse

Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> cur_Photogallery  [in template "10155#10195#421300" at line 132, column 52]

----
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: ${cur_Photogallery.getData().replace(...  [in template "10155#10195#421300" at line 132, column 50]
----
1<div id="pagina-notizia" class="assets-news-container container-fluid"> 
2     
3    <div class="data text-uppercase date"> 
4        #set ($DataVisualizzazione_DateObj = $dateUtil.newDate($getterUtil.getLong($DataVisualizzazione.getData()))) 
5        $dateUtil.getDate($DataVisualizzazione_DateObj, "dd MMMM yyyy ", $locale) 
6    </div> 
7     
8	<h1 class="titolo title"> 
9		$reserved-article-title.data 
10	</h1> 
11 
12 
13	<!-- <div class="pull-right"> 
14		<a href="http://www.toscana-notizie.it" target="_blank"> 
15			<img alt="a cura di Toscana Notizie" src="http://open.toscana.it[$dl-reference=/group/163286/com.liferay.portlet.documentlibrary.model.DLFileEntry/163444.xml$]" /> 
16		</a> 
17	</div> --> 
18 
19 
20	#set($journalLocalService = $serviceLocator.findService("com.liferay.portlet.journal.service.JournalArticleLocalService")) 
21	#set($scopeId = $request.theme-display.scope-group-id) 
22	#set($articlePrimKey = $journalLocalService.getArticle($getterUtil.getLong($scopeId), $reserved-article-id.data).resourcePrimKey)  
23	#set($catLocalService = $serviceLocator.findService("com.liferay.portlet.asset.service.AssetCategoryLocalService")) 
24	#set($articleCatNames = $catLocalService.getCategoryNames("com.liferay.portlet.journal.model.JournalArticle", $getterUtil.getLong($articlePrimKey))) 
25	<div> 
26		#foreach ($catName in $articleCatNames ) 
27				#set ($catName = $catName.toLowerCase()) 
28				#set ($catName = $catName.replace("à","a") ) 
29				#set ($catNameIcon = $catName.replace(" e ","_")) 
30				#set ($catNameLink = $catName.replace(" ","-")) 
31			    
32		#end 
33	</div>	 
34 
35	<div class="clearfix" style="margin-bottom: 10px;"></div> 
36 
37 
38	#if ( $Immagine.getData() != "" ) 
39		#if ( $Immagine.getChild("MostraSoloElenco").getData() != "true") 
40		    <img class="img-top img-responsive" alt="$Immagine.getChild('TestoAlternativoImmagine').getData()" src="$Immagine.getData().replace("&","&")" /> 
41	    #end 
42	#end 
43    #if ( $IdVideoYoutube.getData() != "" ) 
44	    <div class="video"> 
45		    <iframe width="460" height="315" src="https://www.youtube-nocookie.com/embed/$IdVideoYoutube.getData()"  allowfullscreen style="width: 100%; border:0"> 
46		    	$IdVideoYoutube.getChild("TestoAlternativoVideo").getData() 
47		    </iframe> 
48	    </div> 
49	#end 
50	#if (! $Sottotitolo.getData().isEmpty() ) 
51		<h2 class="subtitle">$Sottotitolo.getData()</h2> 
52	#end 
53 
54	<div class="contenuto">$Contenuto.getData()</div> 
55 
56	<div class="post-social pull-right"> 
57		<div class="condividi text-uppercase">Condividi</div> 
58		<ul class="inline"> 
59			<li> 
60				<a class="fb_share" href="" title="Condividi su Facebook"> 
61				    <span class="hide">Condividi su Facebook</span> 
62					<span class="icon-stack" >  
63						<i class="icon-circle icon-stack-base"></i>  
64						<i class="icon-facebook icon-light"></i>  
65					</span> 
66				</a> 
67			 </li> 
68			 <li> 
69				<a class="gplus" href="" title="Condividi su google plus"> 
70				    <span class="hide">Condividi su google plus</span> 
71					<span class="icon-stack" >  
72						<i class="icon-circle icon-stack-base"></i>  
73						<i class="icon-google-plus icon-light"></i>  
74					</span> 
75				</a> 
76			 </li> 
77			 <li> 
78				<a class="tweet" href="" title="Condividi su twitter"> 
79				    <span class="hide">Condividi su twitter</span> 
80					<span class="icon-stack" >  
81						<i class="icon-circle icon-stack-base"></i>  
82						<i class="icon-twitter icon-light"></i>  
83					</span> 
84				</a> 
85			 </li> 
86		</ul> 
87	</div> 
88	<div class="clearfix"></div> 
89 
90	#if (!$Documenti.getData().isEmpty()) 
91 
92		<h3 class="subtitle text-uppercase">Documenti Allegati</h3> 
93		 
94		#set ($fileEntryLocalService = $serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService")) 
95		#set ($scopeGroupId = $getterUtil.getLong($request.theme-display.scope-group-id)) 
96		#set ($textFormatter = $portal.getClass().forName('com.liferay.portal.kernel.util.TextFormatter').newInstance()) 
97	 
98		<div class="table tabella-allegati"> 
99			#foreach ($cur_Documenti in $Documenti.getSiblings()) 
100				 
101		        ## Get the group ID of the document library you are referring to 
102		        #set ($gid = $getterUtil.getLong($cur_Documenti.getData().split("/").get(2))) 
103 
104		        ## Get the folder ID of the DL 
105		        #set ($fid = $getterUtil.getLong($cur_Documenti.getData().split("/").get(3))) 
106 
107		        ## Get the file title 
108		        #set ($fileTitle = $cur_Documenti.getData().split("/").get(4)) 
109 
110		        ## (I assume you are using UTF-8 as charset)	        
111		        #set ($tmp = {}) 
112		        #set ($decoder = $tmp.class.forName("java.net.URLDecoder").newInstance()) 
113		        #set ($fileTitle = $decoder.decode($fileTitle, "UTF-8"))	 
114		        #set ($uuid = $cur_Documenti.getData().split("/").get(5))	 
115						 
116				#set ($fileEntry = $fileEntryLocalService.getDLFileEntryByUuidAndGroupId($uuid, $gid))  
117 
118				<div class="row-table attachments"> 
119					<div  class="cell-table min-width-table"><i class="icon-file icon-2x"></i></div> 
120					<div  class="cell-table"><a href="$cur_Documenti.getData()" target="_blank">$fileTitle</a></div> 
121					<span class="cell-table">[ $textFormatter.formatStorageSize($fileEntry.getSize(), $locale) - $fileEntry.getExtension() ]</span> 
122				</div> 
123			#end 
124		</div> 
125		 
126	#end 
127	#if (!$Photogallery.getData().isEmpty()) 
128		<div class="foto-gallery"> 
129			<h3 class="subtitle text-uppercase">Galleria Fotografica</h3> 
130			<div id="makeMeScrollable"> 
131				#foreach ($cur_Photogallery in $Photogallery.getSiblings()) 
132					<a href="${cur_Photogallery.getData().replace("&","&")}.jpg" style="float: left;"> 
133				    	<img alt="$cur_Photogallery.getChild('TestoAlternativoPhotogallery').getData()" src="$cur_Photogallery.getData().replace("&","&")" style="width:300px; height: 200px;" /><br> 
134				    </a> 
135				#end 
136			 
137			</div>	 
138		</div> 
139	#end 
140 
141	<div class="pull-right text-uppercase readmore"><a href="/news" title="Archivio notizie">TUTTE LE NOTIZIE > </a></div>	 
142	<div class="clearfix"></div> 
143	 
144</div> 

In evidenza