Briciole di pane

Aggregatore Risorse

null Guida pratica alla ristrutturazione e riqualificazione energetica degli edifici per Amministratori di Condominio
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> NomeLink  [in template "493537#493583#571646" at line 99, column 22]

----
Tip: If the failing expression is known to be 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: #if NomeLink.getData()?has_content  [in template "493537#493583#571646" at line 99, column 17]
----
1<#-- dettaglio news/eventi ecc --> 
2 
3<#-- parte per estrarre le categorie e tag --> 
4<#assign journalArticleId = .vars['reserved-article-id'].data /> 
5<#assign journalArticleResourceLocalServiceUtil = staticUtil["com.liferay.journal.service.JournalArticleResourceLocalServiceUtil"] /> 
6<#assign assetCategoryLocalServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetCategoryLocalServiceUtil"] /> 
7<#assign articleResourcePK = journalArticleResourceLocalServiceUtil.getArticleResourcePrimKey(groupId, journalArticleId) /> 
8<#--assign categoryList=assetCategoryLocalServiceUtil.getCategories("com.liferay.journal.model.JournalArticle",articleResourcePK) /-->  
9<#assign assetTagLocalServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetTagLocalServiceUtil"] /> 
10<#assign categoryList=assetTagLocalServiceUtil.getTags("com.liferay.journal.model.JournalArticle",articleResourcePK) />  
11<#-- parte per estrarre le categorie e tag fine-->  
12 
13<section class="news-detail">  
14	<@liferay.search/>  
15	<div class="row mfix2">  
16		<div class="col-md-6">  
17			<#if categoryList?has_content>  
18				<#list categoryList as categoryList> 
19			 		<#if categoryList.getName() != 'in evidenza - hp'>  
20			 			<#if categoryList.getName() != 'homepage'>  
21			 				${categoryList.getName()?capitalize}  
22			 			</#if>  
23			 		</#if>  
24			 	</#list> 
25			</#if>  
26		</div>  
27		 
28		<div class="col-md-6 text-right"> 
29			<#if Luogo.getData()?has_content> 
30				${Luogo.getData()} 
31			</#if>  
32			<#assign Data_Data = getterUtil.getString(Data.getData())> 
33 
34			<#if Luogo.getData()?has_content> 
35				<#if validator.isNotNull(Data_Data)>,</#if> 
36			</#if>  
37			 
38			<#if validator.isNotNull(Data_Data)>  
39				<#assign Data_DateObj = dateUtil.parseDate("yyyy-MM-dd", Data_Data, locale)> 
40				${dateUtil.getDate(Data_DateObj, "dd MMM yyyy", locale)}  
41			</#if> 
42		</div>  
43	</div>  
44 
45	<div class="row"> 
46		<div class="col-md-12"> 
47			<#if sottotitolo.getSiblings()?has_content> 
48				<#list sottotitolo.getSiblings() as cur_sottotitolo> 
49					<span class="h3">${cur_sottotitolo.getData()}</span> 
50			    	<#if cur_sottotitolo.paragrafo?has_content>  
51			    		<p>${cur_sottotitolo.paragrafo.getData()}</p>  
52			    	</#if> 
53			    </#list>  
54			</#if>  
55		</div>  
56	</div>  
57 
58	<#assign imgSize = Immagine.getSiblings()?size> 
59	<#if Immagine.getSiblings()?has_content> 
60		<div class="row mfix2"> 
61			<div class="col-md-8 col-md-offset-2"> 
62				<div id="myCarousel" class="carousel slide" data-ride="carousel"> 
63		  			<#if (imgSize > 1)> 
64		  				<ol class="carousel-indicators"> 
65		  					<#list Immagine.getSiblings() as cur_Immagine>  
66		  		 				<li data-target="#myCarousel" data-slide-to="${cur_Immagine_index}" class="${(cur_Immagine_index==0)?then('active','')}"></li> 
67		  		 	 		</#list>  
68		  		 		</ol>  
69		  		 	</#if> 
70		  		 	<div class="carousel-inner"> 
71		  		 		<#list Immagine.getSiblings() as cur_Immagine> 
72		  		 			<div class="item ${(cur_Immagine_index==0)?then(' active','')}"> 
73		  		 				<img src="${cur_Immagine.getData()}" alt="Immagine slider">  
74								<div class="carousel-caption">  
75		  		 	   				<h3></h3> 
76		  		 	   	 			<p></p>  
77		  		 	   			</div>  
78		  		 	   		</div> 
79		  		 	    </#list> 
80		  		 	</div> 
81 
82		  		 	<#if (imgSize > 1)> 
83		  		 		<a class="left carousel-control" href="#myCarousel" data-slide="prev"> 
84		  		 			<span class="glyphicon glyphicon-chevron-left"></span> 
85		  		 			<span class="sr-only">Previous</span>  
86		  		 		</a> 
87		  		 		<a class="right carousel-control" href="#myCarousel" data-slide="next">  
88		  		 	    	<span class="glyphicon glyphicon-chevron-right"></span> 
89		  		 	        <span class="sr-only">Next</span>  
90		  		 	    </a> 
91		  		 	</#if> 
92 
93		  		</div> 
94		  	</div> 
95		</div> 
96	</#if>  
97 
98	<div class="row mfix3"> 
99		<#if NomeLink.getData()?has_content> 
100			<#if NomeLink.getSiblings()?has_content>  
101		  		<div class="col-md-6">  
102		  			<div class="panel panel-default"> 
103		  		 		<div class="panel-heading">  
104		  		 			<h3 class="panel-title">Link</h3> 
105		  		 		</div> 
106		  		 		<div class="panel-body"> 
107		  		 			<ul class="list"> 
108		  		 			    <#list NomeLink.getSiblings() as link>  
109			  		 			    <li>  
110			  		 			     	<a href="${link.link.getData()}"> 
111			  		 			     		<span class="glyphicon glyphicon-link"></span>  
112			  		 			     		${link.getData()} 
113			  		 			     	</a> 
114			  		 			    </li> 
115		  		 			    </#list>  
116		  		 			</ul> 
117		  		 		</div> 
118		  		 	</div> 
119		  		</div> 
120			    </#if> 
121			</#if> 
122			 
123 
124 
125			<#if NomeAllegato?has_content> 
126				<#if NomeAllegato.getData()?has_content> 
127					<#if NomeAllegato.getSiblings()?has_content> 
128				  		<div class="col-md-6"> 
129				  			<div class="panel panel-default"> 
130				  				<div class="panel-heading"> 
131				  					<h3 class="panel-title">Allegati</h3> 
132				  				</div> 
133								<div class="panel-body">  
134									<ul class="list">  
135										<#list NomeAllegato.getSiblings() as allegato> 
136											<li>  
137												<a href="${allegato.allegato.getData()}">  
138												<span class="glyphicon glyphicon-paperclip"></span> 
139												${allegato.getData()}  
140												</a> 
141											</li>  
142										</#list> 
143									</ul> 
144								</div> 
145							</div> 
146						</div>  
147					</#if> 
148				</#if> 
149			</#if> 
150				 
151				 
152	</div> 
153 
154 
155 
156</section> 

Aggregatore Risorse