Skip to Main Content
ICBA
  • Member Login
  • Member Login

Matt Woodrum Test Module for Test Page


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@7cad1af9"; 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> 

 
ICBA would like to announce the hire of Matthew T, Woodrum as a Digital Strategist. Matt Joins ICBA after a lenghty carreer in Web Content Management and Digital Strategy. Most recently Matt was with CFP Board based in Washington DC  as a Web Content Manager and saw a growth of over 21,000 new CFP Professionals.  

In 2016 Matt was the Project Lead on the Northern Virginia Assocation of Realtors (nvar.com) website redesign. This redesign won the 2016 Webby for Assocation Website Redesign of the year.

Matt Began his career with CBS Radio before moving along to Clear Channel for 10 years and worked in various parts of the country including North Carolina, Virginia, Louisana, Alabama, Montana, Oregon and more.

Help ICBA welcome Matt!

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
An error occurred while processing the template.
The following has evaluated to null or missing:
==> content.items  [in template "49724393377863#35335#1082434" at line 35, column 26]

----
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 items = content.items  [in template "49724393377863#35335#1082434" at line 35, column 9]
----
1<#-- 
2Add elements from the sidebar to define your template. Type "${" to use the 
3autocomplete feature. 
4--> 
5 
6<#assign articleContent = restClient.get("/headless-delivery/v1.0/structured-contents/${.vars['reserved-article-resource-prim-key'].data}?fields=taxonomyCategoryBriefs,contentStructureId")/> 
7<#assign taxonomyCats = articleContent.taxonomyCategoryBriefs /> 
8<#assign contentStructureId = articleContent.contentStructureId /> 
9 
10<!-- Create Filter based on configuraiton and user categories --> 
11<#assign filterStr = "?pageSize=4&sort=dateCreated:desc&filter="> 
12<#assign categoryId = "">  
13 
14<#if taxonomyCats??> 
15		<#list taxonomyCats as category> 
16			<#if category.taxonomyCategoryName??> 
17				<#assign parentTaxonomyVocabularyRes = restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-categories/${category.taxonomyCategoryId}") /> 
18				 
19				<#if parentTaxonomyVocabularyRes?? && parentTaxonomyVocabularyRes.parentTaxonomyVocabulary?? && parentTaxonomyVocabularyRes.parentTaxonomyVocabulary.name = 'Topic'> 
20					<#assign categoryId = category.taxonomyCategoryId> 
21					<#break> 
22				<#else> 
23					<#assign categoryId = category.taxonomyCategoryId> 
24				</#if> 
25			</#if> 
26		</#list> 
27</#if> 
28 
29<#if categoryId??> 
30 
31	<#assign filterStr = filterStr + "taxonomyCategoryIds/any(t:t eq " + categoryId + ") and id ne '" + .vars["reserved-article-resource-prim-key"].data + "'"> 
32 
33	<!--Get the web content based on categories passed in --> 
34	<#assign content = restClient.get("/headless-delivery/v1.0/content-structures/${contentStructureId}/structured-contents${filterStr}")/> 
35	<#assign items = content.items > 
36 
37	<div class="related-articles-list"> 
38			<div> 
39				<div class="container"> 
40			 
41					<div class="row "> 
42						<div class="col-12"> 
43							<div class="title-with-cta d-flex justify-content-between"> 
44								<div class="title-row"> 
45									<h2 class="mb-0">Related Articles</h2> 
46									 
47								</div> 
48								<div class="btns-wrapper"> 
49									<a href="/newsroom" class="btn btn-link btn-arrow-right">View All</a> 
50								</div> 
51							</div> 
52							<hr/> 
53						</div> 
54					</div> 
55 
56					<div class="row mb-5 mt-3"> 
57						<#list items as item > 
58							<div class="col-6 col-sm-6 col-lg-3 mb-3"> 
59 
60								 <@liferay_journal["journal-article"] 
61															 articleId=item.key 
62															 ddmTemplateKey="627444" 
63															 groupId=groupId 
64															 /> 
65							</div> 
66					 </#list> 
67				 </div> 
68				</div> 
69			</div> 
70		</div> 
71</#if>