Skip to Main Content
ICBA
ICBA
  • Member Login
  • Member Login


An error occurred while processing the template.
Java method "com.liferay.portal.kernel.util.DateUtil_IW.getDate(Date, String, Locale)" threw an exception when invoked on com.liferay.portal.kernel.util.DateUtil_IW object "com.liferay.portal.kernel.util.DateUtil_IW@39ec0e80"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: ${dateUtil.getDate(publicationDate_Da...  [in template "49724393377863#35335#2228575" at line 32, column 48]
----
1<#-- 
2Add elements from the sidebar to define your template. Type "${" to use the 
3autocomplete feature. 
4--> 
5<div class="d-flex flex-wrap align-items-center"> 
6	<p class="mb-0"> 
7		<#assign contentStructureIdForPerson = 45349 /> 
8		<#assign structuredContentId = .vars["reserved-article-resource-prim-key"].data> 
9		<#assign url = "/headless-delivery/v1.0/structured-contents/${structuredContentId}?fields=relatedContents,taxonomyCategoryBriefs.taxonomyCategoryName,taxonomyCategoryBriefs.taxonomyCategoryId,relatedContents"> 
10		<#assign taxonomyCategoryBriefs = restClient.get(url)> 
11		<#assign contentType = "" /> 
12		<#assign articleType = "" /> 
13		<#assign topics = "" /> 
14		<#assign authorName = "" /> 
15		<#assign authorUrl = '' /> 
16		<#if taxonomyCategoryBriefs??> 
17		<#assign relatedItems = taxonomyCategoryBriefs.relatedContents /> 
18		<#if relatedItems?has_content> 
19		<#list relatedItems as item> 
20		<#assign relatedItem = restClient.get("/headless-delivery/v1.0/structured-contents/${item.id}") /> 
21		<#if relatedItem.contentStructureId = contentStructureIdForPerson > 
22		<#assign authorName = relatedItem.title /> 
23		<#assign authorUrl = '/w/${relatedItem.friendlyUrlPath}' /> 
24		</#if> 
25		</#list> 
26		</#if> 
27		</#if> 
28		<#assign publicationDate_Data = getterUtil.getString(publicationDate.getData())> 
29		<#if validator.isNotNull(publicationDate_Data)> 
30		<#assign publicationDate_DateObj = dateUtil.parseDate("yyyy-MM-dd", publicationDate_Data, locale)> 
31		</#if> 
32		<span class="font-weight-bold">${dateUtil.getDate(publicationDate_DateObj, "MMMM dd, yyyy", locale)}</span> 
33		<#if authorName != ''> 
34		<#if articleType == 'Press Release'> 
35		/ By ICBA 
36		<#else> 
37		/ By 
38		<a href="${authorUrl}">${authorName}</a> 
39		</#if> 
40		<#else> 
41		/ By ICBA 
42		</#if> 
43	</p> 
44	 
45</div> 

Join ICBA Community

Interested in discussing this and other topics? Network with and learn from your peers with the app designed for community bankers. 

Join the community Example Text