Skip to Main Content
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@7c68c2ec"; 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 33, 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 authors = [] /> 
15		<#if taxonomyCategoryBriefs??> 
16			<#assign relatedItems = taxonomyCategoryBriefs.relatedContents /> 
17			<#if relatedItems?has_content> 
18				<#list relatedItems as item> 
19					<#assign relatedItem = restClient.get("/headless-delivery/v1.0/structured-contents/${item.id}") /> 
20					<#if relatedItem.contentStructureId = contentStructureIdForPerson> 
21						<#assign authors = authors + [{ 
22							"name": relatedItem.title, 
23							"url": "/w/${relatedItem.friendlyUrlPath}" 
24						}] /> 
25					</#if> 
26				</#list> 
27			</#if> 
28		</#if> 
29		<#assign publicationDate_Data = getterUtil.getString(publicationDate.getData())> 
30		<#if validator.isNotNull(publicationDate_Data)> 
31			<#assign publicationDate_DateObj = dateUtil.parseDate("yyyy-MM-dd", publicationDate_Data, locale)> 
32		</#if> 
33		<span class="font-weight-bold">${dateUtil.getDate(publicationDate_DateObj, "MMMM dd, yyyy", locale)}</span> 
34		<#if authors?has_content> 
35			<#if articleType == 'Press Release'> 
36				/ By ICBA 
37			<#else> 
38				/ By 
39				<#list authors as author> 
40					<a href="${author.url}">${author.name}</a><#if author?has_next><#if author?counter == authors?size - 1> and <#else>, </#if></#if> 
41				</#list> 
42			</#if> 
43		<#else> 
44			/ By ICBA 
45		</#if> 
46	</p> 
47</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