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(Object),
    static com.liferay.portal.kernel.util.Validator.isNotNull(Long),
    static com.liferay.portal.kernel.util.Validator.isNotNull(String)

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

Formulier

Indigo Aanmelden voor cursus

Aanmelden cursus Indigo

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