An error occurred while processing the template.
The following has evaluated to null or missing:
==> rootElement.selectSingleNode("/root/dynamic-element[@name='xRecordId']/dynamic-content") [in template "20115#20151#60920238" at line 22, column 48]
----
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 referance = rootElement.selec... [in template "20115#20151#60920238" at line 22, column 27]
----
1<#--
2Widget templates can be used to modify the look of a
3specific application.
4
5Please use the left panel to quickly add commonly used variables.
6Autocomplete is also available and can be invoked by typing "${".
7-->
8
9<#if entries?has_content>
10 <div class="row">
11
12 <#list entries as curEntry>
13
14 <#assign assetRenderer = curEntry.getAssetRenderer() />
15 <#assign article = assetRenderer.getArticle() />
16 <#assign document = saxReaderUtil.read(article.getContentByLocale(locale))>
17 <#--${article.getContentByLocale(locale)}-->
18 <#assign rootElement = document.getRootElement()>
19 <#assign Title = curEntry.getTitle(locale) />
20 <#assign summary = curEntry.getSummary(locale) />
21
22 <#assign referance = rootElement.selectSingleNode("/root/dynamic-element[@name='xRecordId']/dynamic-content").getStringValue()/>
23
24 <div class="col col-4">
25 ${referance}
26
27 </div>
28
29 </#list>
30 </div>
31 </#if>