We are pleased to announce that the ENDORSE conference scheduled to take place in person in Brussels 8-9 October 2025 is open for registration. Book your place now!
Er trad een fout op tijdens de verwerking van de sjabloon.
The following has evaluated to null or missing:
==> jsonimg.groupId [in template "10157#10197#10161498" at line 36, column 68]
----
Tip: It's the step after the last dot 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 urlJsonImg = urlJsonImg + jso... [in template "10157#10197#10161498" at line 36, column 33]
----
1<style>
2.downloadAsset .centerDiv {
3 margin-top: auto;
4 margin-bottom: auto;
5}
6
7@media (max-width:768px){
8 .downloadAsset .centerDiv {
9 margin-top: 10px;
10 margin-bottom: auto;
11 }
12}
13
14</style>
15
16
17<div class="gcss-op downloadAsset">
18<#if entries?has_content>
19 <#list entries as curEntry>
20 <#assign curEntry = curEntry />
21 <#assign assetRenderer = curEntry.getAssetRenderer() />
22 <#assign className = assetRenderer.getClassName() />
23 <#assign article = assetRenderer.getArticle() />
24 <#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContent()) />
25
26 <#assign rootElement = docXml.getRootElement() />
27 <#assign availableLocales = rootElement.attribute("available-locales").getText() />
28 <#assign defaultLocale = rootElement.attribute("default-locale").getText() />
29
30 <#if article.isApproved() >
31 <#assign articleId = article.getArticleId() />
32
33 <#assign img = docXml.valueOf("//dynamic-element[@name='Imagea5iy']/dynamic-content[@language-id='"+defaultLocale+"']/text()") />
34 <#assign jsonimg = jsonFactoryUtil.createJSONObject(img)>
35 <#assign urlJsonImg = "/documents/" >
36 <#assign urlJsonImg = urlJsonImg + jsonimg.groupId >
37 <#assign urlJsonImg = urlJsonImg + "/" + jsonimg.fileEntryId >
38 <#assign urlJsonImg = urlJsonImg + "/" + jsonimg.name >
39 <#assign urlJsonImg = urlJsonImg + "/" + jsonimg.uuid >
40
41 <#if (availableLocales?contains(locale)) >
42 <#assign description = docXml.valueOf("//dynamic-element[@name='Description']/dynamic-content[@language-id='"+locale+"']/text()") />
43 <#else>
44 <#assign description = docXml.valueOf("//dynamic-element[@name='Description']/dynamic-content[@language-id='"+defaultLocale+"']/text()") />
45 </#if>
46
47
48<div class="row">
49 <div class="col-sm-12 col-md-6">
50 <img class="card-img-top" src="${urlJsonImg}" alt="" style="max-height:;">
51 </div>
52 <div class="col-sm-12 col-md-4 centerDiv">${description}</div>
53 <div class="col-sm-12 col-md-2 centerDiv">
54 <a href="${urlJsonImg}" aria-label="Download ${description}" download class="gs-btn gs-btn-main"><i class="gs-icon-download gs-icon-l" aria-hidden="true"></i>Download</a>
55 </div>
56 <div class="col-sm-12 col-md-12"><hr class="gs-hr-s"></div>
57 </div>
58
59 </#if>
60
61 </#list>
62 </#if>
63</div>
