Events

An error occurred while processing the template.
The following has evaluated to null or missing:
==> CalShareDateStart  [in template "20116#20152#1788335" at line 44, column 56]

----
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: #assign CalShareDateStart_Data = gett...  [in template "20116#20152#1788335" at line 44, column 1]
----
1<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()> 
2<#assign LayoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService")> 
3 
4<#assign themeDisplay = serviceContext.getThemeDisplay() /> 
5<#assign layout = themeDisplay.getLayout() /> 
6<#assign layoutUrl = themeDisplay.getLayoutFriendlyURL(layout) /> 
7<#-- <#assign url = themeDisplay.getURLPortal() + themeDisplay.getURLCurrent() /> --> 
8<#assign url = themeDisplay.getURLPortal() + themeDisplay.getURLCurrent()?keep_before(layoutUrl) + layoutUrl /> 
9<#assign parentLayout = LayoutLocalService.getParentLayout(layout) /> 
10<#assign parentLayoutUrl = themeDisplay.getLayoutFriendlyURL(parentLayout) /> 
11<#assign parentLayoutFullUrl = themeDisplay.getURLPortal() + themeDisplay.getURLCurrent()?keep_before(layoutUrl) + parentLayoutUrl /> 
12 
13 
14<#assign subscribeLabel = "Register here" /> 
15<#assign addCalendar = "Add to calendar" /> 
16<#assign share = "Share" /> 
17<#switch locale> 
18    <#case "it_IT"> 
19        <#assign subscribeLabel = "Iscriviti" /> 
20        <#assign addCalendar = "Aggiungi in agenda" /> 
21        <#assign share = "Condividi" /> 
22        <#break> 
23    <#case "el_GR"> 
24        <#assign subscribeLabel = "Εγγραφείτε εδώ" /> 
25        <#assign addCalendar = "προσθήκη στο ημερολόγιο" /> 
26        <#assign share = "κοινοποίηση" /> 
27        <#break> 
28    <#case "hr_HR"> 
29        <#assign subscribeLabel = "Prijavite se ovdje" /> 
30        <#assign addCalendar = "Dodajte u kalendar" /> 
31        <#assign share = "Podijelite" /> 
32        <#break> 
33    <#case "pt_PT"> 
34        <#assign subscribeLabel = "Registe-se aqui" /> 
35        <#assign addCalendar = "Adicionar ao calendário" /> 
36        <#assign share = "Partilhar" /> 
37        <#break> 
38    <#case "pl_PL"> 
39        <#assign subscribeLabel = "Zarejestruj się" /> 
40        <#assign addCalendar = "Dodaj do mojego Kalendarza" /> 
41        <#assign share = "Udostępnij" /> 
42        <#break> 
43</#switch> 
44<#assign CalShareDateStart_Data = getterUtil.getString(CalShareDateStart.getData())> 
45 
46<#if validator.isNotNull(CalShareDateStart_Data)> 
47	<#assign CalShareDateStart_DateObj = dateUtil.parseDate("yyyy-MM-dd", CalShareDateStart_Data, locale)> 
48    <#assign shareDateStart = dateUtil.getDate(CalShareDateStart_DateObj, "yyyy/MM/dd", locale) > 
49</#if> 
50 
51<#assign CalShareDateEnd_Data = getterUtil.getString(CalShareDateEnd.getData())> 
52<#assign shareDateEnd = shareDateStart> 
53<#if validator.isNotNull(CalShareDateEnd_Data)> 
54	<#assign CalShareDateEnd_DateObj = dateUtil.parseDate("yyyy-MM-dd", CalShareDateEnd_Data, locale)> 
55    <#assign shareDateEnd = dateUtil.getDate(CalShareDateEnd_DateObj, "yyyy/MM/dd", locale) > 
56</#if> 
57 
58<div class="webmeet-detail"> 
59    <#if Country.getData()?? > 
60        <div class="country">${Country.getData()}</div> 
61    </#if> 
62	<div class="left-block"> 
63        <div class="image-bg" style="background-image: url(${MainImage.getData()})"></div> 
64        <div class="head-text"> 
65            <div class="type">${Type.getData()}</div> 
66            <div class="date">${Date.getData()}</div> 
67            <div class="time">${Time.getData()}</div> 
68            <div class="icon icon-${Icon.getData()}"></div> 
69        </div> 
70    </div> 
71    <div class="right-block"> 
72        <div class="title">${Title.getData()}</div> 
73        <div class="content">${Content.getData()}</div> 
74    </div> 
75    <div class="clear"></div> 
76    <div class="document-list-container"> 
77        <#if AttachmentLabel.getSiblings()?has_content> 
78        	<#list AttachmentLabel.getSiblings() as cur_AttachmentLabel> 
79        		<#if cur_AttachmentLabel.getData() != ""> 
80            		<div class="document-list-item"> 
81            		    <span class="title">${cur_AttachmentLabel.getData()}</span> 
82            		    <a class="download-link" target="_blank" href="${cur_AttachmentLabel.File.getData()}"> 
83            		        <span class="extension">${cur_AttachmentLabel.Extension.getData()}</span> 
84            		    </a> 
85            		</div> 
86            	</#if> 
87        	</#list> 
88        </#if> 
89    </div> 
90    <div class="foot-block"> 
91        <div class="calendar" id="calendar"> 
92        </div> 
93        <div class="share"> 
94            <label for="checkbox-for-share">${share}</label> 
95            <input name="share-checkbox" class="share-checkbox" id="checkbox-for-share" type="checkbox"> 
96            <a href="https://www.linkedin.com/sharing/share-offsite/?url=${url}" target="_blank">Linkedin</a> 
97            <a href="mailto:?subject=${Title.getData()}&body=${Intro.getData()}%0d%0a${url}" target="_blank" rel="nofollow">E-mail</a> 
98        </div> 
99        <div class="clear only-mobile"></div> 
100        <#if SubscribeLink.getData()?? && SubscribeLink.getData() != ""> 
101            <a href="${SubscribeLink.getData()}" target="_blank" class="subscribe-link"> 
102                ${subscribeLabel} 
103            </a> 
104        </#if> 
105        <div class="clear"></div> 
106    </div> 
107</div> 
108 
109<script> 
110var myCalendar = createCalendar({ 
111  options: { 
112    class: 'my-class', 
113    id: 'my-id', 
114    addLabel: '${addCalendar}' 
115  }, 
116  data: { 
117    title: '${Title.getData()}', 
118    start: new Date('${shareDateStart} ${CalShareTimeStart.getData()}'), 
119    end: new Date('${shareDateEnd} ${CalShareTimeEnd.getData()}') 
120
121}); 
122 
123document.querySelector('#calendar').appendChild(myCalendar); 
124 
125var breadParentTxt = $('.breadcrumb-container span.last').prev().text(); 
126$('.breadcrumb-container span.last').prev().html('<a href="${parentLayoutFullUrl}">' + breadParentTxt + '</a>'); 
127</script>