Categories Navigation
Categories Navigation
Se ha producido un error al procesar la plantilla.
Java method "com.sun.proxy.$Proxy655.getLatestArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy655 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@6d2e6c7a"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: journalArticle = journalArticleServic... [in template "217051#217099#690744" at line 15, column 10] - Reached through: #assign-container [in template "217051#217099#690744" at line 14, column 9] ----
1<#assign ParamUtil = staticUtil["com.liferay.portal.kernel.util.ParamUtil"]
2 PortletURLFactoryUtil = staticUtil["com.liferay.portal.kernel.portlet.PortletURLFactoryUtil"]
3 PortletRequest = staticUtil["javax.portlet.PortletRequest"]
4 assetCategoryService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")
5 assetCategoryPropertyService = serviceLocator.findService("com.liferay.asset.category.property.service.AssetCategoryPropertyLocalService")
6 journalArticleService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
7 layoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService")
8 categoryId = ParamUtil.getLong(request,"categoryId", 0)
9 articleId = ParamUtil.getString(request,"articleId", "")
10 articleContent=""
11/>
12
13<#if articleId ? has_content>
14 <#assign
15 journalArticle = journalArticleService.getLatestArticle(groupId,articleId)
16 articleContent = journalArticleService.getArticleContent(journalArticle, "","VIEW", locale, themeDisplay)
17 />
18</#if>
19
20<#if articleContent ? has_content>
21<div class="card flex-md-row mb-4 box-shadow h-md-250">
22 <div class="card-body d-flex flex-column align-items-start listado-categorias">
23 ${articleContent}
24 </div>
25</div>
26</#if>