Hiba jelentkezett a sablon feldolgozása során.
Method public java.lang.String com.liferay.portlet.journal.asset.JournalArticleAssetRenderer.getURLViewInContext(com.liferay.portal.kernel.portlet.LiferayPortletRequest,com.liferay.portal.kernel.portlet.LiferayPortletResponse,java.lang.String) throws java.lang.Exception threw an exception when invoked on com.liferay.portlet.journal.asset.JournalArticleAssetRenderer@6a16c25
1<#assign liferay_ui = taglibLiferayHash["/WEB-INF/tld/liferay-ui.tld"] /> 
2 
3<#function getAssetViewURL liferayPortletRequest liferayPortletResponse assetEntry> 
4    <#assign viewURL = liferayPortletResponse.createRenderURL() /> 
5     
6    ${viewURL.setParameter("struts_action", "/asset_publisher/view_content")} 
7     
8    ${viewURL.setParameter("p_p_state", "maximized")} 
9    ${viewURL.setWindowState("maximized")} 
10     
11    <#assign currentURL = portalUtil.getCurrentURL(liferayPortletRequest) /> 
12     
13    ${viewURL.setParameter("redirect", currentURL)} 
14    ${viewURL.setParameter("assetEntryId", "" + assetEntry.getEntryId())} 
15     
16    <#assign assetRendererFactory = assetEntry.getAssetRendererFactory() /> 
17    <#assign assetRenderer = assetEntry.getAssetRenderer() /> 
18     
19    ${viewURL.setParameter("type", assetRendererFactory.getType())} 
20     
21    <#if validator.isNotNull(assetRenderer.getUrlTitle())> 
22        <#if assetRenderer.getGroupId() != themeDisplay.getScopeGroupId()> 
23            ${viewURL.setParameter("groupId", "" + assetRenderer.getGroupId())} 
24        </#if> 
25         
26        ${viewURL.setParameter("urlTitle", assetRenderer.getUrlTitle())} 
27    </#if> 
28     
29    <#return viewURL> 
30</#function> 
31 
32<#-- For templates use templateKey instead of templateId --> 
33 
34<#assign DEFAULT_TEMPLATE_KEY = "22635" /> 
35 
36<div class="nebih-articles"> 
37<#if entries?has_content> 
38    <#list entries as entry> 
39        <#assign entry = entry> 
40         
41        <#assign journalArticleClassNameId = portalUtil.getClassNameId("com.liferay.portlet.journal.model.JournalArticle")> 
42         
43        <#if entry.getClassNameId() == journalArticleClassNameId> 
44         
45            <#assign assetRenderer = entry.getAssetRenderer() /> 
46         
47            <#assign entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) /> 
48             
49            <#assign viewURL = getAssetViewURL(renderRequest, renderResponse, entry) /> 
50             
51            <#if assetLinkBehavior != "showFullContent"> 
52                <#assign viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, viewURL) /> 
53            </#if> 
54             
55            <#assign templateKey = DEFAULT_TEMPLATE_KEY /> 
56            <#assign className = "nebih-article-small" /> 
57 
58            <a href="${viewURL}" class="${className}"> 
59                <@liferay_ui["journal-article"] 
60                    articleResourcePrimKey=getterUtil.getLong(entry.getClassPK()) 
61                    templateId=templateKey 
62                /> 
63            </a> 
64         
65        </#if> 
66         
67    </#list> 
68</#if> 
69</div>