Travel Dates - AO Trips
An error occurred while processing the template.
The following has evaluated to null or missing: ==> CapitalWebContent [in template "20101#20128#165910" at line 38, column 10] ---- 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: #if CapitalWebContent.getData()?has_c... [in template "20101#20128#165910" at line 38, column 5] ----
1<#assign
2 serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()
3 themeDisplay = serviceContext.getThemeDisplay()
4 group_id = themeDisplay.getScopeGroupId()
5 JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
6>
7
8<div class="ao-content ao-hide">
9 <#assign
10 classPK = AOWebContent.getData()?keep_after("classPK\":\"")?keep_before("\"")
11 article = JournalArticleLocalService.getLatestArticle(classPK?number)
12 article_id = article.articleId
13 article_content = JournalArticleLocalService.getArticleContent(group_id, article_id, null, locale, themeDisplay)
14 >
15 ${article_content}
16</div>
17<div class="acic-content ao-hide">
18 <#assign
19 classPK = ACICWebContent.getData()?keep_after("classPK\":\"")?keep_before("\"")
20 article = JournalArticleLocalService.getLatestArticle(classPK?number)
21 article_id = article.articleId
22 article_content = JournalArticleLocalService.getArticleContent(group_id, article_id, null, locale, themeDisplay)
23 >
24 ${article_content}
25</div>
26<div class="concord-content ao-hide">
27 <#if ConcordWebContent.getData()?has_content>
28 <#assign
29 classPK = ConcordWebContent.getData()?keep_after("classPK\":\"")?keep_before("\"")
30 article = JournalArticleLocalService.getLatestArticle(classPK?number)
31 article_id = article.articleId
32 article_content = JournalArticleLocalService.getArticleContent(group_id, article_id, null, locale, themeDisplay)
33 >
34 ${article_content}
35 </#if>
36</div>
37<div class="capital-content ao-hide">
38 <#if CapitalWebContent.getData()?has_content>
39 <#assign
40 classPK = CapitalWebContent.getData()?keep_after("classPK\":\"")?keep_before("\"")
41 article = JournalArticleLocalService.getLatestArticle(classPK?number)
42 article_id = article.articleId
43 article_content = JournalArticleLocalService.getArticleContent(group_id, article_id, null, locale, themeDisplay)
44 >
45 ${article_content}
46 </#if>
47</div>