Forms
An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy184.getCategory(long)" threw an exception when invoked on com.sun.proxy.$Proxy184 object "com.liferay.portlet.asset.service.impl.AssetCategoryServiceImpl@dc158a8"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: category = assetCategoryService.getCa...  [in template "20101#20128#242031" at line 15, column 5]
----
1<#-- 
2Widget templates can be used to modify the look of a 
3specific application. 
4 
5Please use the left panel to quickly add commonly used variables. 
6Autocomplete is also available and can be invoked by typing "${". 
7--> 
8<#assign theCatId =""/> 
9<#if renderRequest.getParameter("categoryId")??> 
10<#assign theCatId = renderRequest.getParameter("categoryId") /> 
11</#if> 
12 
13<#if theCatId?has_content> 
14<#assign assetCategoryService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryService") 
15    category = assetCategoryService.getCategory(theCatId?number) 
16    categoryName = category.getName()/> 
17<#else> 
18<#assign categoryName = "All Forms"/> 
19</#if> 
20 
21<style> 
22    /* CSS code */ 
23.card{ 
24    margin-bottom:0px; 
25
26    </style> 
27<h2 class="mb-4">${categoryName}</h2> 
28 <div class="row equal"> 
29    <#if entries?has_content> 
30        <#list entries as curEntry> 
31        <div data-cat="forms" class="col-12 col-md-4 py-3"> 
32            <#assign assetRenderer = curEntry.getAssetRenderer() /> 
33			<#assign journalArticle = assetRenderer.getAssetObject() /> 
34			<@liferay_journal["journal-article"] 
35				articleId=journalArticle.getArticleId() 
36				ddmTemplateKey=journalArticle.getDDMTemplateKey() 
37				groupId=journalArticle.getGroupId() 
38				wrapperCssClass="h-100" 
39			/> 
40		</div> 
41        </#list> 
42    </#if> 
43                     
44    </div>