Header veelgestelde vragen

Veelgestelde vragen

Hebt u een vraag? Dan is de kans groot dat u uw vraag op deze pagina terugvindt. Klik op een categorie hieronder.

BNP Custom Facet

BNP Custom Facet

BNP Search results

Er trad een fout op tijdens de verwerking van de sjabloon.
The following has evaluated to null or missing:
==> entry.getHighlightedTitle()  [in template "10154#10192#95960413" at line 44, column 20]

----
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: @liferay_ui.panel collapsible=true cs...  [in template "10154#10192#95960413" at line 40, column 9]
	- Reached through: @liferay_ui["panel-container"] id="fa...  [in template "10154#10192#95960413" at line 12, column 5]
----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
2<div class="search-total-label"> 
3    <#if searchResultsPortletDisplayContext.getKeywords()?has_content> 
4      ${languageUtil.format(themeDisplay.getLocale(), "nl.bnp.nieuws.x-resultaten-voor-x", [searchContainer.getTotal(), "<strong>" + htmlUtil.escape(searchResultsPortletDisplayContext.getKeywords()) + "</strong>"], false)} 
5    <#else> 
6      ${languageUtil.format(themeDisplay.getLocale(), "nl.bnp.nieuws.x-resultaten", [searchContainer.getTotal()], false)} 
7  </#if> 
8</div> 
9 
10<div class="display-faq-list faq-search"> 
11  <#if entries?has_content> 
12    <@liferay_ui["panel-container"] 
13        id="faq-search-container" 
14        accordion=true 
15        extended=true 
16        cssClass="faq-panel-container accordion" 
17
18      <#list entries as entry> 
19        <#assign antwoord = "" /> 
20        <#if entry.getFieldDisplayContexts()??> 
21          <#assign entryAttributes = {} /> 
22          <#list entry.getFieldDisplayContexts() as attribute> 
23            <#assign entryAttributes = entryAttributes + {stringUtil.replace(attribute.getName(), " ", "") : attribute.getValuesToString()} /> 
24          </#list> 
25           
26          <#assign articleId = (entryAttributes["articleId"])!"" /> 
27          <#assign groupId = ((entryAttributes["groupId"])!0)?number /> 
28          <#assign article = (journalArticleLocalService.fetchArticle(groupId, articleId))! /> 
29          <#assign antwoord = ((entryAttributes["Antwoord_"+themeDisplay.getLocale()])!"")?trim /> 
30          <#if article?has_content> 
31            <#assign document = article.getDocument()/> 
32             <#assign document = saxReaderUtil.read(article.getContentByLocale(themeDisplay.getLocale()) ) /> 
33            <#assign rootElement = document.getRootElement() /> 
34            <#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Antwoord']") /> 
35            <#assign antwoord = ((xPathSelector.selectSingleNode(rootElement).getStringValue())?trim)!'' /> 
36          </#if> 
37 
38           
39        </#if> 
40        <@liferay_ui.panel 
41          collapsible=true 
42          cssClass="faq-panel" 
43          id="panel-faq-${entry?index}" 
44          title="${entry.getHighlightedTitle()}" 
45          parentId="faq-search-container" 
46          defaultState="closed" 
47
48          <div>${antwoord}</div> 
49        </@> 
50      </#list> 
51    </@> 
52  </#if> 
53</div>