Cursus aanbod

Er trad een fout op tijdens de verwerking van de sjabloon.
Multiple compatible overloaded variations were found with the same priority.
The FTL type of the argument values were: Null.
The Java type of the argument values were: Null.
The matching overload was searched among these members:
    static com.liferay.portal.kernel.util.Validator.isNotNull(String),
    static com.liferay.portal.kernel.util.Validator.isNotNull(Object),
    static com.liferay.portal.kernel.util.Validator.isNotNull(Long)

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #if validatorUtil.isNotNull(selectedD...  [in template "10155#10193#ACADEMY-ACTIVITY-SUBSCRIPTION-FORM" at line 150, column 33]
----
1<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()> 
2<#assign httpServletRequest = serviceContext.getRequest()> 
3<#assign PortalUtil = staticUtil["com.liferay.portal.kernel.util.PortalUtil"] /> 
4<#assign JournalArticleService = serviceLocator.findService("com.liferay.journal.service.JournalArticleService")>  
5<#assign validatorUtil = staticUtil["com.liferay.portal.kernel.util.Validator"] /> 
6<#setting locale = "nl_NL"> 
7<#setting date_format="dd MMMM yyyy"> 
8 
9<#assign aCLS = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
10<#assign aVLS = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService")> 
11<#assign HtmlUtil = staticUtil["com.liferay.portal.kernel.util.HtmlUtil"] /> 
12 
13<#assign jLS = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
14<#assign activiteittitel="" > 
15<#assign placeCounter = 0 /> 
16<#assign topicCounter = 0 /> 
17<#assign dateCounter = 0 /> 
18<#attempt> 
19   <#if (httpServletRequest.getParameter("activiteittitel")??) > 
20	    <#assign activiteittitel = httpServletRequest.getParameter("activiteittitel")> 
21		<#assign placeCounter = httpServletRequest.getParameter("location")?number> 
22		<#assign topicCounter = httpServletRequest.getParameter("event")?number> 
23		<#assign dateCounter = httpServletRequest.getParameter("timeslot")> 
24   </#if> 
25<#recover> 
26    <#assign activiteittitel =''/> 
27</#attempt> 
28<#assign activiteittitel=HtmlUtil.escape(activiteittitel)> 
29 
30<#if validatorUtil.isNotNull(activiteittitel)> 
31 
32	<#assign journalArticle = jLS.getArticleByUrlTitle(groupId,activiteittitel)> 
33	<#assign filterVocabNamesForTitle = "Contactvorm"> 
34	<#assign vestigingVocabName = "Vestiging"> 
35	<#assign curArticleCategories = aCLS.getCategories("com.liferay.journal.model.JournalArticle", journalArticle.getResourcePrimKey())> 
36	<#assign type = ""> 
37	<#list curArticleCategories as category> 
38			<#assign vocab = aVLS.getVocabulary(category.getVocabularyId()) >       
39		   <#if (vocab.getName() == filterVocabNamesForTitle) > 
40				<#if validatorUtil.isNotNull(type)> 
41					<#assign type =  type+","> 
42				</#if> 
43				<#assign type = type +" "+ category.getTitle(locale) > 
44		   </#if> 
45	</#list> 
46 
47 
48 
49<div class="agenda-subscription"> 
50	<h2 class="portlet-title "> 
51		<span class="portlet-title-text"><@liferay.language key='Aanmelden voor een activiteit' /></span> 
52	</h2> 
53	<div class="pg-content agenda-subscription-data"> 
54		<div class="detail-content">	 
55			<h2 class="title">${journalArticle.getTitle(locale)}</h2> 
56			<div class="agenda-meta-info"> 
57				<#assign content = journalArticle.getContent()> 
58				<#assign doc = saxReaderUtil.read(content)>	 
59				 
60				<#assign duration = ""> 
61				<#assign xPathQuery = "/root/dynamic-element[@name='duration']/dynamic-content" > 
62				<#assign duration = doc.selectSingleNode(xPathQuery)> 
63				 
64				<#assign street = "" > 
65				<#assign houseNumber = "" > 
66				<#assign zipcode = "" > 
67				<#assign city = "" > 
68				<#assign locationComment = "" > 
69				 
70				<#assign xPathQuery = "/root/dynamic-element[@name='place']" > 
71				<#assign placeList = doc.selectNodes(xPathQuery)> 
72				<#assign tempPlaceCounter = 0 /> 
73				 
74				<#list placeList as place> 
75					<#assign tempPlaceCounter = tempPlaceCounter + 1 /> 
76					<#if (tempPlaceCounter == placeCounter) > 
77						<#assign selectedPlace = place/> 
78						 
79						<#assign placeXML = saxReaderUtil.read(selectedPlace.asXML()) /> 
80						 
81						<#assign street = placeXML.selectSingleNode("/dynamic-element/dynamic-element[@name='street']/dynamic-content") > 
82						<#assign houseNumber = placeXML.selectSingleNode("/dynamic-element/dynamic-element[@name='housenumber']/dynamic-content")> 
83						<#assign zipcode = placeXML.selectSingleNode("/dynamic-element/dynamic-element[@name='postcode']/dynamic-content")> 
84						<#assign city = placeXML.selectSingleNode("/dynamic-element/dynamic-content")> 
85						<#assign locationComment = placeXML.selectSingleNode("/dynamic-element/dynamic-element[@name='locationComment']/dynamic-content")> 
86						 
87						<#assign tempTopicCounter = 0 /> 
88						<#assign topicsList = placeXML.selectNodes("/dynamic-element/dynamic-element[@name='topic']") /> 
89						 
90						<#list topicsList as topic> 
91							<#assign tempTopicCounter = tempTopicCounter + 1 /> 
92							<#if (tempTopicCounter == topicCounter) > 
93								<#assign selectedTopic = topic /> 
94								<#assign topicXML = saxReaderUtil.read(selectedTopic.asXML()) /> 
95								<#assign topicName = topicXML.selectSingleNode("/dynamic-element/dynamic-content") /> 
96								<#assign topicName = topicName.getText() /> 
97								 
98								<#assign dateList = topicXML.selectNodes("/dynamic-element/dynamic-element[@name='dateFrom']") /> 
99								 
100									<#if (dateCounter == "all") > 
101										<#assign sortedDateList = [] /> 
102										<#assign selectedDate = "" /> 
103										<#list dateList as date> 
104											<#setting date_format="dd MMMM yyyy"> 
105											<#assign dateXML = saxReaderUtil.read(date.asXML()) /> 
106		                            		<#assign activityDate = dateXML.selectSingleNode("/dynamic-element/dynamic-content") /> 
107		                            		<#assign activityDate = activityDate.getText() /> 
108		                            		<#assign splitdate = activityDate?split(",")> 
109		                            		<#if (splitdate[0]!='') > 
110			                                	<#assign activityDate = splitdate[0]?datetime("dd-MM-yyyy")?date> 
111			                                	<#assign hourMinute = splitdate[1]?split("-") /> 
112                            					<#assign hourMinute = hourMinute[0]?split(":") /> 
113                            					<#assign hour = hourMinute[0] /> 
114                            					<#assign minute = hourMinute[1] /> 
115                        						<#assign dateTime = splitdate[0] + " " + hour + ":" + minute /> 
116                        						<#if (dateTime?datetime("dd-MM-yyyy HH:mm")?datetime > .now?datetime) > 
117				                                	<#assign sortedDateList=sortedDateList+[{"date":activityDate, "time":splitdate[1]} ]/> 
118				                                </#if> 
119			                                </#if> 
120		                                </#list> 
121		                                <#list sortedDateList?sort_by("date") as i> 
122		                                	<#assign selectedDate = selectedDate + i.date + ", " + i.time + " uur <br/>" /> 
123		                                </#list> 
124									<#else> 
125										<#assign tempDateCounter = 0 /> 
126										<#list dateList as date>  
127											<#assign dateCounter = dateCounter?number /> 
128											<#assign tempDateCounter = tempDateCounter + 1 /> 
129											<#if (tempDateCounter == dateCounter) > 
130												<#assign selectedDate = date /> 
131												<#setting date_format="dd MMMM yyyy"> 
132												<#assign dateXML = saxReaderUtil.read(selectedDate.asXML()) /> 
133		                            			<#assign selectedDate = dateXML.selectSingleNode("/dynamic-element/dynamic-content") /> 
134		                            			<#assign selectedDate = selectedDate.getText() /> 
135		                            			<#assign splitdate = selectedDate?split(",")> 
136		                            			<#if (splitdate[0]!='') > 
137			                                		<#assign selectedDate = splitdate[0]?datetime("dd-MM-yyyy")?date> 
138			                                		<#assign selectedDate = selectedDate + ", " + splitdate[1]+ " uur"> 
139			                                	</#if> 
140			                                	<#break> 
141			                                </#if> 
142		                                </#list> 
143									</#if> 
144							</#if> 
145						</#list> 
146						<#break>	 
147					</#if> 
148				</#list> 
149				 
150				<#if validatorUtil.isNotNull(selectedDate)> 
151						<dl class="agenda-meta-fields"> 
152							<dt><@liferay.language key='Datums' /></dt> 
153							<dd class="date-right-block">${selectedDate}</dd> 
154						</dl> 
155				<#else> 
156						<dl class="agenda-meta-fields"> 
157							<dt><@liferay.language key='Datum' /> </dt> 
158							<dd class="date-right-block"><@liferay.language key='Datum volgt later' /></dd> 
159						</dl>			 
160				</#if> 
161				 
162				<#if validatorUtil.isNotNull(duration)> 
163					<dl class="agenda-meta-fields"> 
164						<dt><@liferay.language key='Onderwerp' /> </dt> 
165						<dd class="date-right-block">${topicName}</dd> 
166					</dl> 
167				</#if> 
168				<#if validatorUtil.isNotNull(duration)> 
169					<dl class="agenda-meta-fields"> 
170						<dt><@liferay.language key='Duur' /> </dt> 
171						<dd class="date-right-block">${duration.getText()}</dd> 
172					</dl> 
173				</#if> 
174				<#if validatorUtil.isNotNull(type)> 
175					<dl class="agenda-meta-fields"> 
176						<dt ><@liferay.language key='Type' /> </dt> 
177						<dd class="date-right-block">${type}</dd> 
178					</dl> 
179				</#if> 
180				 
181				<#if validatorUtil.isNotNull(street.getText())> 
182							<dl class="agenda-meta-fields"> 
183								<dt><@liferay.language key='Adres' /> </dt> 
184								<dd class="date-right-block">${street.getText()} ${houseNumber.getText()}, 
185								${zipcode.getText()}, ${city.getText()}<#if validatorUtil.isNotNull(locationComment.getText())>, ${locationComment.getText()}</#if> </dd> 
186							</dl> 
187				</#if>  
188				 
189				<#assign xPathQuery = "/root/dynamic-element[@name='cost']/dynamic-content" > 
190				<#assign cost = doc.selectSingleNode(xPathQuery)> 
191				 
192				<#if validatorUtil.isNotNull(cost.getText())> 
193					<dl class="agenda-meta-fields"> 
194						<dt><@liferay.language key='Kosten' /> </dt> 
195						<dd class="date-right-block">${cost.getText()}</dd> 
196					</dl> 
197				</#if> 
198 
199			</div> 
200		 
201		</div> 
202	</div> 
203</div> 
204</#if> 

Formulier

Indigo Aanmelden voor cursus

Aanmelden cursus Indigo

Alle velden gemarkeerd met zijn vereist.

Ik ga akkoord met het verwerken van mijn gegevens voor het verwerken van mijn vraag of aanmelding. Meer informatie vindt u in ons privacybeleid.