Get Quote Results Page1 - colonialpennOld.com
30-Day Money-Back Guarantee
Our life insurance has a 30-day Money Back Guarantee. You can return your policy within 30 days of receipt for a complete refund.
An error occurred while processing the template.
The following has evaluated to null or missing: ==> request["portlet-session"] [in template "20116#20152#84180" at line 9, column 27] ---- Tip: It's the final [] step 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 portletSession = request["por... [in template "20116#20152#84180" at line 9, column 1] ----
1<#--
2Web content templates are used to lay out the fields defined in a web
3content structure.
4
5Please use the left panel to quickly add commonly used variables.
6Autocomplete is also available and can be invoked by typing "${".
7
8-->
9<#assign portletSession = request["portlet-session"]>
10<#assign portletSessionAttr = portletSession["application-attributes"]>
11<#assign dynamicPhone = portletSessionAttr["dynamicPhone"]!PhoneNumber.getData()>
12<#assign nyPhone = portletSessionAttr["nyPhone"]!PhoneNumber.getData()>
13<#assign selectedState = portletSessionAttr["equinox.http.CPRest_selectedState"]!"">
14<#assign showNYPhone = false/>
15<#if selectedState?? && selectedState?has_content && selectedState == 'NY'>
16<#assign showNYPhone = true/>
17</#if>
18<div class="container-fluid contact-container">
19 <div class="container">
20 <h3>${Title.getData()}</h3>
21 <span class="dynamicPhoneContent"
22 <#if showNYPhone == true> style="display:none"<#else>style="display:block"</#if> >
23 <p>
24 <#if Email.getData()?? && Email.getData() != "">
25 <a class="excludeURL contact-info" href="mailto:${Email.getData()}">${Email.getData()}</a>
26 </#if>
27 <#if (Email.getData()?? && Email.getData() != "") && (dynamicPhone?? && dynamicPhone != "")>
28 <span class="contact-info">or</span>
29 </#if>
30 <a id="dynamicPhoneCT" class="excludeURL mobile-number contact-info" href="tel:${dynamicPhone}">${dynamicPhone}</a>
31 </p>
32 </span>
33 <span class="nyPhoneContent"
34 <#if showNYPhone == true> style="display:block"<#else>style="display:none"</#if> >
35 <p>
36 <#if Email.getData()?? && Email.getData() != "">
37 <a class="excludeURL contact-info" href="mailto:${Email.getData()}">${Email.getData()}</a>
38 </#if>
39 <#if (Email.getData()?? && Email.getData() != "") && (nyPhone?? && nyPhone != "")>
40 <span>or</span>
41 </#if>
42 <a id="nyPhoneCT" class="excludeURL mobile-number contact-info" href="tel:${nyPhone}">${nyPhone}</a>
43 </span>
44 </div>
45</div>
46<script>
47$( document ).ready(function() {
48 $('#dynamicPhoneCT').html($('#dynamicPhoneHeader').html());
49 $('#nyPhoneCT').html($('#nyPhoneHeader').html());
50});
51Liferay.on('NYSwitch',function(event) {
52 if(event.selState == 'NY'){
53 $('.nyPhoneContent').show();
54 $('.dynamicPhoneContent').hide();
55 }
56 else{
57 $('.dynamicPhoneContent').show();
58 $('.nyPhoneContent').hide();
59 }
60});
61</script>