CLIVET_KLIMAHOUSE_BOLZANO_2012 20111228
Une erreur s'est produite lors du traitement du gabarit.
The following has evaluated to null or missing:
==> videoUrl  [in template "10110#2640274#1498088" at line 1, column 3]

----
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: ${videoUrl.getData()}  [in template "10110#2640274#1498088" at line 1, column 1]
----
1${videoUrl.getData()}<#if location?? && location.getData()??> 
2    <#assign  
3        locationField = location.getData() 
4    /> 
5<#else> 
6    <#assign  
7        locationField = "" 
8    /> 
9</#if> 
10<#if enableEventDate?? && enableEventDate.getData()??> 
11    <#assign  
12        enabledEventDate = getterUtil.getBoolean(enableEventDate.getData()) 
13    /> 
14<#else> 
15    <#assign  
16        enabledEventDate = false 
17    /> 
18</#if> 
19<#if eventDate?? && eventDate.getData()??> 
20    <#assign  
21        eventDate_Data = getterUtil.getString(eventDate.getData()) 
22    /> 
23<#else> 
24    <#assign  
25        eventDate_Data = "" 
26    /> 
27</#if> 
28<#assign  
29	latitude = 0 
30	longitude = 0 
31	activateMapModal = false 
32	showGallery = false 
33	showAttachments = false 
34	videoUrl_ = "" 
35	viewUrl = httpUtil.getProtocol(request['attributes']['CURRENT_URL']) + "://" + getterUtil.getString(request['theme-display']['portal-url']) + request['attributes']['CURRENT_URL'] 
36	fileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") 
37/> 
38<#if mapLocation?? && mapLocation.getData()?? && mapLocation.getData() != ""> 
39	<#assign 
40		geolocationJSONObject = jsonFactoryUtil.createJSONObject(mapLocation.getData())  
41		latitude = geolocationJSONObject.getDouble("latitude") 
42		longitude = geolocationJSONObject.getDouble("longitude") 
43		activateMapModal = true 
44	/> 
45	<div class="modal fade" id="${randomNamespace}-myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> 
46		<div class="modal-dialog" role="document"> 
47			<div class="modal-content"> 
48				<div class="modal-body"> 
49					<@liferay_map["map-display"] 
50						geolocation=true 
51						latitude=latitude 
52						longitude=longitude 
53						name="mapLocation" 
54					/> 
55				</div> 
56	    	</div> 
57		</div> 
58	</div>	 
59</#if> 
60<#if validator.isNotNull(eventDate_Data)> 
61	<#assign eventDate_DateObj = dateUtil.parseDate("yyyy-MM-dd", eventDate_Data, locale)> 
62</#if> 
63<#if videoUrl??> 
64	<#assign videoUrl_ = (videoUrl.getData())!""> 
65</#if> 
66<#if gallery??> 
67	<#assign  
68		images = gallery.getSiblings()   
69		showGallery = images?has_content 
70	/> 
71	<#if images?size==1>  
72		<#if gallery.getData()?? > 
73			<#if gallery.getData() != ""> 
74				<#assign showGallery = true> 
75			<#else> 
76				<#assign showGallery = false> 
77			</#if> 
78		</#if> 
79	</#if> 
80</#if> 
81<#if allegati??> 
82	<#assign  
83		attachments = allegati.getSiblings()   
84		showAttachments = attachments?has_content 
85	/> 
86	<#if attachments?size==1>  
87		<#if allegati.getData()?? > 
88			<#if allegati.getData() != ""> 
89				<#assign showAttachments = true> 
90			<#else> 
91				<#assign showAttachments = false> 
92			</#if> 
93		</#if> 
94	</#if> 
95</#if> 
96<style> 
97	.symbol, a.symbol:before { 
98	    font-family: 'Mono Social Icons Font'; 
99	    -webkit-text-rendering: optimizeLegibility; 
100	    -moz-text-rendering: optimizeLegibility; 
101	    -ms-text-rendering: optimizeLegibility; 
102	    -o-text-rendering: optimizeLegibility; 
103	    text-rendering: optimizeLegibility; 
104	    -webkit-font-smoothing: antialiased; 
105	    -moz-font-smoothing: antialiased; 
106	    -ms-font-smoothing: antialiased; 
107	    -o-font-smoothing: antialiased; 
108	    font-smoothing: antialiased; 
109
110	.symbol.first { 
111		color: #019DDA; 
112	    font-size: 2rem; 
113
114	.symbol.others { 
115		color: #939598; 
116	    font-size: 2rem; 
117
118	a.symbol:before { 
119	    content: attr(title); 
120	    margin-right: 0.3em; 
121	    font-size: 130%; 
122
123	a.symbol { 
124	    background: #9f9f9f; 
125	    padding: 7px 5px 3px 5px; 
126	    color: white; 
127	    text-decoration: none; 
128
129	a.symbol.first { 
130		color: #019DDA; 
131
132	a.symbol.others { 
133		color: #939598; 
134
135	.clivet-news-header-row { 
136	    padding-bottom: 10px; 
137
138	.clivet-abstract-single-news { 
139		color: #939598; 
140	    padding-bottom: 10px; 
141	    padding-top: 10px; 
142
143	.clivet-abstract-single-news-video { 
144		color: #019DDA; 
145	    padding-bottom: 10px; 
146	    padding-top: 10px; 
147	    text-transform: uppercase; 
148	    margin: 0; 
149
150	.clivet-asset-title { 
151		margin-top: 0; 
152		color: #019DDA; 
153		/*text-transform: capitalize;*/ 
154
155	.clivet-asset-body { 
156	    line-height: 1.6em; 
157	    margin-top: 1em; 
158
159	.responsive-scale { 
160	    width: 100%; 
161	    padding-bottom: 56.221198156682027649769585253456%;  
162	    background-size:cover; 
163	    background-position:center; /* IE fix */ 
164
165	.no-side-paddings { 
166		padding-left: 0; 
167		padding-right: 0; 
168
169	.clivet-icon-color, .clivet-icon-color a { 
170		color: #019DDA; 
171
172	.clivet-icon-size { 
173		width: 18px; 
174	}  
175	.clivet-label { 
176		color:black; 
177	}  
178	.media:hover { 
179		background-color:#EAE8E9; 
180	}  
181	.clivet-social-icons a { 
182	    text-decoration: none; 
183
184	img.media-object.clivet-media-object { 
185	    width: 2em; 
186	    max-width: 2em; 
187
188	#portlet_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_rkP8EgE1QL8p { 
189	    display: none; 
190	     
191
192</style> 
193<#if showGallery> 
194<script type="text/javascript"> 
195$(document).ready(function() { 
196    new smartPhoto(".js-smartPhoto"); 
197}); 
198</script> 
199</#if> 
200<div class="container-fluid" style="margin-top:16px;"> 
201	<div class="row"> 
202		<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> 
203		 
204			<div class="row clivet-news-header-row"> 
205				<div class="col-md-5"> 
206					<img class="img-responsive" src="${image.getData()}"> 
207				</div> 
208				<div class="col-md-7"> 
209					<div class="row"> 
210						<div class="col-md-12"> 
211							<h3 class="clivet-asset-title">${titolo.getData()}</h3> 
212						</div> 
213						<#if enabledEventDate && validator.isNotNull(eventDate_Data)> 
214						<div class="col-md-12 clivet-abstract-single-news text-capitalize"> 
215							<img src="/documents/10125/2845654/Icona+Calendario+32x32.png/08d23929-3ccf-5878-0f97-b6eef1ee7df0" class="clivet-icon-size"> ${dateUtil.getDate(eventDate_DateObj, "dd MMMM yyyy", locale)} 
216						</div> 
217						</#if> 
218						<#if locationField?length?switch(0, false, true) > 
219						<div class="col-md-12 clivet-abstract-single-news text-capitalize"> 
220							<img src="/documents/10125/2845654/Icona+Localita+32x32.png/083d0714-310b-1e08-3471-29b06edd17cc" class="clivet-icon-size"> ${locationField}  
221							<#if activateMapModal> 
222							    &nbsp;<button type="button" class="btn btn-primary btn-sm" data-toggle="modal"  
223								    	data-target="#${randomNamespace}-myModal"> 
224							        <@liferay.language key="open" /> 
225							    </button> 
226							</#if> 
227						</div> 
228						</#if> 
229						<div class="col-md-12 clivet-social-icons"> 
230							<@createSocialIcons  
231								title=titolo.getData()  
232							/> 
233						</div> 
234					</div> 
235				</div> 
236			</div> 
237			<div class="row"> 
238				<div class="col-md-12 clivet-asset-body"> 
239					${descrizione.getData()} 
240				</div> 
241			</div> 
242            <#if showAttachments> 
243			<div class="row"> 
244				<div class="col-md-12"> 
245					<p class="clivet-abstract-single-news-video"> 
246						<span class="glyphicon glyphicon-paperclip clivet-icon-color"  
247							aria-hidden="true"></span> <@liferay.language key="attachments" /> 
248					</p> 
249					<ul class="media-list"> 
250                	<#list attachments as attachment> 
251                		<#assign 
252                			attachmentURL = attachment.getData() 
253                			urlPartsList = attachmentURL?split("/") 
254                			urlGroupId = urlPartsList[2]?number 
255                			urlUuid = urlPartsList[5]?trim 
256                			file = fileEntryLocalService.getFileEntryByUuidAndGroupId(urlUuid,urlGroupId) 
257                		/> 
258    					<li class="media"> 
259    						<div class="media-left"> 
260                        		<a href="${attachmentURL}" target="_blank"> 
261    		                    	<img class="media-object clivet-media-object" 
262    		                    	    src="http://portal.clivet.it/media/images/sito/${file.getExtension()}.png" /> 
263                        		</a> 
264    						</div> 
265    						<div class="media-body"> 
266                        		<h4 class="media-heading">${file.getTitle()}</h4> 
267                       			<small>(${file.getSize()} bytes)</small> 
268    						</div> 
269    					</li> 
270                	</#list> 
271                	</ul> 
272				</div> 
273			</div> 
274            </#if> 
275			<#if showGallery> 
276			<div class="row"> 
277				<div class="col-md-12"> 
278					<p class="clivet-abstract-single-news-video"> 
279						<span class="glyphicon glyphicon-camera clivet-icon-color"  
280							aria-hidden="true"></span> <@liferay.language key="gallery" /> 
281					</p> 
282					<div class="row"> 
283						<div class="col-md-12"> 
284		    				<#list images as galleryImage> 
285							<a href="${galleryImage.getData()}" class="js-smartPhoto" target="_blank"/> 
286								<img src="${galleryImage.getData()}&imageThumbnail=1" /> 
287							</a> 
288							</#list> 
289						</div> 
290					</div> 
291				</div> 
292			</div> 
293			</#if> 
294			<#if videoUrl_!=""> 
295			<div class="row"> 
296				<div class="col-md-12"> 
297					<p class="clivet-abstract-single-news-video"> 
298						<span class="glyphicon glyphicon-facetime-video clivet-icon-color"  
299							aria-hidden="true"></span> <@liferay.language key="video" /> 
300					</p> 
301					<div class="embed-responsive embed-responsive-16by9"> 
302						<iframe class="embed-responsive-item" src="${videoUrl.getData()}" allowfullscreen></iframe> 
303					</div> 
304				</div> 
305			</div> 
306			</#if> 
307		</div> 
308	</div> 
309</div> 
310 
311<#macro createSocialIcons title> 
312	<img src='/documents/10125/2845654/Icona+Social+32x32.png/5c74a9a2-13e2-89f6-5730-a11022c246cb' class='clivet-icon-size'>&nbsp; 
313	<a href="javascript:void(window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(location), 'Share to Facebook','width=600,height=460,menubar=no,location=no,status=no'));" alt="${title}"> 
314		<span class='symbol others'>circlefacebook</span> 
315	</a>&nbsp; 
316	<a href="javascript:void(window.open('https://twitter.com/intent/tweet?tw_p=tweetbutton&url='+encodeURIComponent(location), 'Share to Twitter','width=600,height=460,menubar=no,location=no,status=no'));" alt="${title}"> 
317		<span class='symbol others'>circletwitterbird</span> 
318	</a>&nbsp; 
319	<a href="javascript:void(window.open('https://plus.google.com/share?url='+encodeURIComponent(location)+'&hl=${locale.getLanguage()}', 'Share to Google+','width=600,height=460,menubar=no,location=no,status=no'));" alt="${title}"> 
320		<span class='symbol others'>circlegoogleplus</span> 
321	</a> 
322</#macro>