Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> childWebContent.childWebContentOffset  [in template "711795#711841#43971" at line 24, column 42]

----
Tip: It's the step after the last dot that caused this error, not those before it.
----
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 childWebContentOffset = child...  [in template "711795#711841#43971" at line 24, column 9]
----
1<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/3.3.4/jquery.inputmask.bundle.js"></script> 
2 
3<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
4 
5<#assign productHeroClass = "" /> 
6<#if categoryTitle.categoryItemImage?has_content && categoryTitle.categoryItemImage.getData() != ""> 
7	<#assign productHeroClass = productHeroClass + " product-hero-bg" /> 
8</#if> 
9<#if categoryTitle.ekomiScript?has_content && categoryTitle.ekomiScript.getData() != ""> 
10	<#assign productHeroClass = productHeroClass + " product-hero-ekomi" /> 
11</#if> 
12 
13<#assign overlayShownCssClass = "" > 
14<#if getterUtil.getBoolean(categoryTitle.categoryItemImage.isOverlayShown.getData()) > 
15	<#assign overlayShownCssClass = "show-overlay" /> 
16</#if> 
17 
18<#assign childWebContentCssClass = "" /> 
19<#assign childWebContentPositionCssClass = "" /> 
20 
21<#if childWebContent?has_content> 
22	<#assign childWebContentCssClass = "wc-included" /> 
23	<#assign childWebContentPositionCssClass = childWebContent.childWebContentPosition.getData() /> 
24	<#assign childWebContentOffset = childWebContent.childWebContentOffset.getData() /> 
25</#if> 
26 
27<div class="product-hero hero-container ${productHeroClass} ${childWebContentCssClass} ${childWebContentPositionCssClass} margin-bottom-60"> 
28	<#if childWebContentOffset?has_content > 
29		<style> 
30			@media (min-width: 768px) { 
31				.product-hero { 
32					margin-bottom: ${childWebContentOffset} !important; 
33				} 
34			} 
35		</style> 
36	</#if> 
37 
38	<#assign isTextWhiteCssClass = "" > 
39	<#if getterUtil.getBoolean(categoryTitle.isTextWhite.getData()) > 
40		<#assign isTextWhiteCssClass = "text-white" /> 
41	</#if> 
42	 
43	<div class="item-container ${isTextWhiteCssClass}"> 
44		<div class="image ${overlayShownCssClass}"  
45			 style="background-image: url('${categoryTitle.categoryItemImage.getData()}');"> 
46			  
47			<div class="axa-container"> 
48				<div class="inner-content"> 
49					<span class="title general-title typo18">${categoryTitle.getData()}</span> 
50					<hr/> 
51				</div> 
52			</div> 
53		</div> 
54		<div class="text-details"> 
55			<div class="axa-container"> 
56				<div class="inner-content"> 
57					<div class="hero-header"> 
58						<h1 class="hero-main-title typo48">${categoryTitle.categorySubtitle.getData()}</h1> 
59						<span class="description typo28">${categoryTitle.categoryDescription.getData()}</span> 
60					</div> 
61					 
62					<div class="product-hero-content fast-quotation-container product-fast-quotation"> 
63						<div class="axa-container"> 
64							<#if categoryTitle.categoryPromo.getData()?number gt 0> 
65								  
66								<div class="promo-content-mobile"> 
67									<div class="promo-content-mobile-column"> 
68										<#if (categoryTitle.categoryPromo.categorySuffix.getData())?has_content> 
69											<div class="promo-mobile-label promo-suffix"> 
70												${categoryTitle.categoryPromo.categorySuffix.getData()} 
71											</div> 
72										</#if> 
73										 
74										<#if (categoryTitle.categoryPromo.categoryPromoStart.getData())?has_content> 
75											<div class="promo-mobile-label promo-mobile-date-start"> 
76												<span>${categoryTitle.categoryPromo.categoryPromoStart.getData()}</span> 
77											</div> 
78										</#if> 
79										<#if (categoryTitle.categoryPromo.categoryPromoStart.getData())?has_content> 
80											<div class="promo-mobile-label promo-mobile-date-end"> 
81												<span>${categoryTitle.categoryPromo.categoryPromoEnd.getData()}</span> 
82											</div> 
83										</#if> 
84									</div> 
85									<div class="promo-content-mobile-column"> 
86										<#if (categoryTitle.categoryPromo.categoryPrefix.getData())?has_content> 
87											<div class="promo-mobile-label promo-prefix"> 
88												${categoryTitle.categoryPromo.categoryPrefix.getData()} 
89											</div> 
90										</#if> 
91										<div class="promo-mobile-value"> 
92											${"-" + categoryTitle.categoryPromo.getData() + "%"} 
93										</div> 
94									</div> 
95								</div> 
96							</#if> 
97							<#if categoryTitle.categoryForm?has_content &&  
98								 categoryTitle.categoryForm.data?has_content> 
99								  
100								<#assign wc = jsonFactoryUtil.createJSONObject(categoryTitle.categoryForm.data) /> 
101								<#assign formCategoryJA = journalArticleLocalService.getLatestArticle(wc.classPK?number) /> 
102								 
103								<div class="form-container"> 
104									<@liferay_journal["journal-article"] 
105											articleId=formCategoryJA.getArticleId()?string 
106											groupId=groupId 
107									/> 
108								</div> 
109							</#if> 
110							 
111							<div class="category-link"> 
112								<#if categoryTitle.categoryMandatoryLabel.getData()?? &&  
113									 categoryTitle.categoryMandatoryLabel.getData() != "" > 
114									  
115									<span class="mandatory"> 
116										${categoryTitle.categoryMandatoryLabel.getData()} 
117									</span> 
118								</#if> 
119								 
120								<#if categoryTitle.linkDestination.categoryLinkLabel.getData()?? &&  
121									 categoryTitle.linkDestination.categoryLinkLabel.getData() != "" > 
122									  
123									<div class="category-link-list"> 
124										<#list (categoryTitle.linkDestination.getSiblings()) as linkDestination> 
125											    
126											 <#assign url = "" > 
127											 <#assign target = "" > 
128											 <#assign modalID = "" > 
129 
130												<#if (linkDestination.page.getFriendlyUrl())?has_content> 
131													<#assign url = (linkDestination.page.getFriendlyUrl()) > 
132												<#elseif (linkDestination.url.getData())?has_content > 
133													<#assign url = (linkDestination.url.getData()) > 
134													<#assign target = "target='_blank'" > 
135												<#elseif (linkDestination.webContent.getData())?has_content > 
136													<@modal namespace cur_title /> 
137												</#if> 
138 
139												<span class="category-link-list-item"> 
140													<#if (url)?has_content > 
141														<a href="${url}" ${target}> 
142															${linkDestination.categoryLinkLabel.getData()} 
143														</a> 
144													<#elseif (linkDestination.webContent.getData())?has_content > 
145														<button 
146																		id="${namespace}trigger" 
147																		type="button" 
148																		data-toggle="modal" 
149																		data-target="#${namespace}modal" 
150														> 
151															${linkDestination.categoryLinkLabel.getData()} 
152														</button> 
153													</#if> 
154												</span> 
155										</#list> 
156									</div> 
157								</#if> 
158								 
159								<#if categoryTitle.categoryInfoLinkDestination.categoryInfoLinkLabel.getData()?? &&  
160									 categoryTitle.categoryInfoLinkDestination.categoryInfoLinkLabel.getData() != ""> 
161									  
162									<#assign url = "" > 
163									<#assign target = "" > 
164									<#assign modalID = "" > 
165							 
166									<#if (categoryTitle.categoryInfoLinkDestination.categoryInfoLinkPage.getFriendlyUrl())?has_content> 
167										<#assign url = (categoryTitle.categoryInfoLinkDestination.categoryInfoLinkPage.getFriendlyUrl()) > 
168									<#elseif (categoryTitle.categoryInfoLinkDestination.categoryInfoLinkUrl.getData())?has_content > 
169										<#assign url = (categoryTitle.categoryInfoLinkDestination.categoryInfoLinkUrl.getData()) > 
170										<#assign target = "target='_blank'" > 
171									<#elseif (categoryTitle.categoryInfoLinkDestination.categoryInfoLinkWebContent.getData())?has_content > 
172										<@modal namespace cur_title /> 
173									</#if> 
174									 
175									<span class="category-info-link"> 
176										<#if (url)?has_content > 
177											<a href="${url}" ${target}> 
178												${categoryTitle.categoryInfoLinkDestination.categoryInfoLinkLabel.getData()} 
179											</a> 
180										<#elseif (categoryTitle.categoryInfoLinkDestination.categoryInfoLinkWebContent.getData())?has_content > 
181											<button 
182												id="${namespace}trigger" 
183												type="button" 
184												data-toggle="modal" 
185												data-target="#${namespace}modal" 
186											> 
187												${categoryTitle.categoryInfoLinkDestination.categoryInfoLinkLabel.getData()} 
188											</button> 
189										</#if> 
190									</span> 
191								</#if> 
192								 
193								<#-- Populated via JS (css rule applied if NOT empty. Don't add white spaces) --> 
194								<span class="extra-form-fields-container"></span> 
195							</div> 
196						</div> 
197					</div> 
198																		 
199					<#if (categoryTitle.categoryPromo.getData())?number gt 0> 
200						<div class="promo-content"> 
201							<#if (categoryTitle.categoryPromo.categoryPrefix.getData())?has_content> 
202								<div class="promo-label promo-prefix"> 
203									${categoryTitle.categoryPromo.categoryPrefix.getData()} 
204								</div> 
205							</#if> 
206							 
207							<div class="promo-value typo-serif typo36"> 
208								${"-" + categoryTitle.categoryPromo.getData() + "%"} 
209							</div> 
210							 
211							<#if (categoryTitle.categoryPromo.categorySuffix.getData())?has_content> 
212								<div class="promo-label promo-suffix"> 
213									${categoryTitle.categoryPromo.categorySuffix.getData()} 
214								</div> 
215							</#if> 
216							 
217							<#if (categoryTitle.categoryPromo.categoryPromoStart.getData())?has_content> 
218								<div class="promo-label promo-date promo-date-start"> 
219									<span>${categoryTitle.categoryPromo.categoryPromoStart.getData()}</span> 
220								</div> 
221							</#if> 
222							 
223							<#if (categoryTitle.categoryPromo.categoryPromoStart.getData())?has_content> 
224								<div class="promo-label promo-date promo-date-end"> 
225									<span>${categoryTitle.categoryPromo.categoryPromoEnd.getData()}</span> 
226								</div> 
227							</#if> 
228						</div> 
229					</#if> 
230				</div> 
231			</div> 
232		</div> 
233	</div> 
234	<div id="widget-container" class="ekomi-widget-container ekomi-widget-sf957055b84f25784fc4"> 
235		${categoryTitle.ekomiScript.getData()} 
236	</div> 
237</div> 
238 
239 
240<#-- Child Web Content --> 
241 
242<#if childWebContent?has_content && childWebContent.getData() != ""> 
243	<#assign wc = jsonFactoryUtil.createJSONObject(childWebContent.getData()) /> 
244	<#assign childWebContentJA = journalArticleLocalService.getLatestArticle(wc.classPK?number) /> 
245	 
246	<#assign backgroundCssClass = "" > 
247	<#assign backgroundOuterCssClass = "" > 
248	 
249	<#if childWebContentPositionCssClass == "wc-aligned-bottom"> 
250		<#assign backgroundOuterCssClass = childWebContent.backgroundColor.getData() > 
251	<#else> 
252		<#assign backgroundCssClass = childWebContent.backgroundColor.getData() > 
253	</#if> 
254	 
255	<div id="${randomNamespace}webcontent"  
256		 class="lp-hero-child-webcontent-container ${backgroundOuterCssClass} ${childWebContentPositionCssClass}" 
257	> 
258		<div class="axa-container"> 
259			<div class="inner-wrapper ${backgroundCssClass}"> 
260				<@liferay_journal["journal-article"] 
261					articleId=childWebContentJA.getArticleId()?string 
262					groupId=groupId 
263				/> 
264			</div> 
265		</div> 
266	</div> 
267	 
268	<#if getterUtil.getBoolean(childWebContent.isTextMovedInsideChildWebContent.getData())> 
269		<script> 
270			$(document).ready(function() { 
271				var heroTextWrapperUp = $('#${randomNamespace}hero').find('.text-wrapper-up'); 
272				var heroTextWrapperBottom = $('#${randomNamespace}hero').find('.text-wrapper-bottom'); 
273				var webContentWrapper = $('#${randomNamespace}webcontent').find('.inner-wrapper'); 
274				 
275				$(heroTextWrapperUp).prependTo(webContentWrapper).addClass('text-center'); 
276				$(heroTextWrapperBottom).appendTo(webContentWrapper).addClass('text-center'); 
277				$(webContentWrapper).addClass('padding-bottom-30'); 
278			}); 
279		</script> 
280	</#if> 
281</#if> 
282 
283 
284<script> 
285	var fastQuotationContainerTop = $('.fast-quotation-container').offset().top; 
286 
287	$(document).ready(function(){ 
288		/* Spostamento campi extra form all'esterno del contenitore originali */ 
289		var extraFields = $('.extra-form-fields'); 
290		$('.extra-form-fields-container').append( extraFields.html() ); 
291		extraFields.remove(); 
292	 
293	 
294	 
295		if ($('.promo-content').length > 0 && $('.product-hero').length > 0 && $('.product-hero-header').length > 0) { 
296			$('.promo-content').css('top', $('.product-hero-header').offset().top - $('.product-hero').offset().top + 'px'); 
297			$('.promo-content').css('height', $('.product-hero-header').height()); 
298		} 
299		/*calculateComponentHeights();*/ 
300	}); 
301	$(window).resize(function(){ 
302		/*calculateComponentHeights();*/ 
303	}); 
304 
305	function calculateComponentHeights() { 
306		if ($(document).width() <= 767) { 
307			$('.product-hero').css('margin-bottom', $('.product-hero-content').outerHeight() + $('.product-hero-header').outerHeight() + 20); 
308			$('.product-hero-content').css('top', 'calc(100% + ' + $('.product-hero-header').outerHeight() + 'px)') 
309		} 
310		else if ($(document).width() <= 1199) { 
311			$('.product-hero').css('margin-bottom', $('.product-hero-content').outerHeight() + 20); 
312			$('.product-hero-content').css('top', '100%'); 
313		} 
314		else { 
315			$('.product-hero').css('margin-bottom', 0); 
316			$('.product-hero-content').css('top', 0); 
317		} 
318	} 
319	 
320	/* Gestione fast quotation sticky */ 
321/* 
322	$(window).on('scroll load', function(event){ 
323		if ($(window).width() < 1199) { 
324			return; 
325		} 
326		if (fastQuotationContainerTop <= $(window).scrollTop()){ 
327			if ($('.fast-quotation-container').hasClass('sticky')) { 
328				return; 
329			} 
330			$('.fast-quotation-container').addClass('sticky'); 
331			if ($('li.category.active').length > 0) { 
332				$('li.category.active').removeClass('active'); 
333			} 
334		} 
335		else { 
336			$('.fast-quotation-container').removeClass('sticky'); 
337			if ($('li.category.active').length == 0) { 
338				$('li.category').first().addClass('active'); 
339			} 
340		} 
341	}); 
342*/ 
343	 
344	/* 
345	$('.category-form .multi-select .multi-select-list').on('click', function(event) { 
346		var el = $(event.target); 
347		var label = el.text(); 
348		var value = el.attr('value'); 
349		if (el.closest('.multi-select').length > 0 && 
350			el.closest('.multi-select').children('span').length > 0) { 
351			el.closest('.multi-select').children('span').text(label); 
352		} 
353		if (el.closest('.field-wrapper').length > 0 && 
354			el.closest('.field-wrapper').find('.multi-select-value-input').length > 0) { 
355			el.closest('.field-wrapper').find('.multi-select-value-input').attr('value', value); 
356			if ($(el).closest('.multi-select').hasClass('error')) { 
357				$(el).closest('.multi-select').removeClass('error') 
358			} 
359		} 
360	}); */ 
361	/* Elementi dropdown delle form */ 
362	 
363	/* 
364	$('.multi-select').on('click', function(event) { 
365		$(event.currentTarget).toggleClass('active'); 
366		event.stopPropagation(); 
367	}); 
368	$(document).on('click', function() { 
369		$('.multi-select.active').removeClass('active'); 
370	}); 
371	*/ 
372 
373	function addQueryParamToURL(url, key, value){ 
374		const hasQueryParam = url.includes('?'); 
375		const param = encodeURIComponent(key) + '=' + encodeURIComponent(value); 
376		const separator = hasQueryParam ? '&' : '?'; 
377		return url + separator + param; 
378	} 
379 
380	function sendJSON(json, serverURL) { 
381		if(serverURL == undefined || serverURL == null){ 
382			serverURL= "https://pp-assicurazioneonline.axa.it"; 
383		} 
384		var endpointURL= "/api/rest/axaapi/urlIntegrator"; 
385		var inputIntegrator= {inputIntegrator: json}; 
386		var idUrlIntegrator; 
387		$.ajax({ 
388			url: serverURL + endpointURL, 
389			async: false, 
390			type: "POST", 
391			data: JSON.stringify(inputIntegrator), 
392			contentType: "application/json; charset=utf-8", 
393			dataType: "json", 
394			success: function(result) { 
395				idUrlIntegrator = result.idUrlIntegrator; 
396			} 
397		}); 
398		return idUrlIntegrator; 
399	} 
400	 
401	/* 
402	$('.date-element').inputmask("date", { 
403		placeholder: "GG/MM/AAAA", 
404		yearrange: { 
405			minyear: 1900 
406		} 
407	}); 
408	*/ 
409</script> 

Perché sceglierla...

  • TUTELA COMPLETA E PERSONALIZZABILE

    Proteggi la tua abitazione dall’Incendio ed altri danni, dal furto in casa e fuori casa, metti al sicuro i tuoi impianti green e tutela le tue opere d’arte e gli strumenti musicali.

  • PROTEZIONE PER OGNI TIPO DI ABITAZIONE

    Puoi proteggere l’appartamento, la casa indipendente o la villetta a schiera, che sia abitazione abituale, saltuaria o concessa in affitto, con o senza mutuo, fino ad un massimo di 5 case.

  • PROTEZIONE PER GLI IMPIANTI GREEN

    Proteggi i tuoi pannelli solari e/o fotovoltaici contro incendio e altri danni, terremoto e furto. Anche la stazione di ricarica domestica per l’auto elettrica ed ibrida può essere protetta dai principali danni come incendio ed eventi atmosferici.

  • ASSISTENZA H24 SEMPRE A TUA DISPOSIZIONE

    Scegli tra una rete di professionisti al tuo servizio 24/7, pronti a fornirti assistenza in caso di emergenza e imprevisto domestico o tra i servizi evoluti pensati per potenziare l’assistenza standard.

  • TUTELA COMPLETA E PERSONALIZZABILE

    Proteggi la tua abitazione dall’Incendio ed altri danni, dal furto in casa e fuori casa, metti al sicuro i tuoi impianti green e tutela le tue opere d’arte e gli strumenti musicali.

  • PROTEZIONE PER OGNI TIPO DI ABITAZIONE

    Puoi proteggere l’appartamento, la casa indipendente o la villetta a schiera, che sia abitazione abituale, saltuaria o concessa in affitto, con o senza mutuo, fino ad un massimo di 5 case.

  • PROTEZIONE PER GLI IMPIANTI GREEN

    Proteggi i tuoi pannelli solari e/o fotovoltaici contro incendio e altri danni, terremoto e furto. Anche la stazione di ricarica domestica per l’auto elettrica ed ibrida può essere protetta dai principali danni come incendio ed eventi atmosferici.

  • ASSISTENZA H24 SEMPRE A TUA DISPOSIZIONE

    Scegli tra una rete di professionisti al tuo servizio 24/7, pronti a fornirti assistenza in caso di emergenza e imprevisto domestico o tra i servizi evoluti pensati per potenziare l’assistenza standard.

Prima della sottoscrizione, leggere attentamente il Set Informativo.

Scopri le garanzie dell'ambito casa in dettaglio

"Un’improvvisa fuga di gas ha provocato un incendio danneggiando gravemente la mia villetta. Grazie a Nuova Protezione Casa ho ricevuto un indennizzo per ripristinare la mia abitazione."

Manuela, proprietaria di villa a schiera

"Un ladro si è introdotto nel mio appartamento rubandomi oggetti di valore e provocandomi danni alla serratura. Nuova Protezione Casa mi ha dato un indennizzo per il furto e per la riparazione della porta d’ingresso."

Antonio, proprietario di appartamento

"Una forte grandinata ha danneggiato i pannelli solari che avevo da poco installato sul tetto della mia abitazione. Fortunatamente con Nuova Protezione Casa ho ricevuto un indennizzo per danni subiti."

Maria, proprietaria di villa con pannelli solari

Set informativo

Nome Tipologia Download
Nuova Protezione Casa - DIP.pdf Documentazione contrattuale Download
Nuova Protezione Casa - DIP aggiuntivo.pdf Documentazione contrattuale Download
Nuova Protezione Casa - Condizioni di assicurazione.pdf Documentazione contrattuale Download

Documenti utili

Nome Tipologia Download
Nuova Protezione Casa - Leaflet.pdf Brochure Download

Le esemplificazioni sono liberamente ispirate dai bisogni e dall’esperienza del cliente ritraibili dalle caratteristiche di Nuova Protezione Casa.