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@500a17b0
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 = "11937" /> 
35<#assign SPECIAL_TEMPLATE_KEY = "11943" /> 
36 
37<div class="nebih-articles"> 
38<#if entries?has_content> 
39    <#list entries as entry> 
40        <#assign entry = entry> 
41         
42        <#assign journalArticleClassNameId = portalUtil.getClassNameId("com.liferay.portlet.journal.model.JournalArticle")> 
43         
44        <#if entry.getClassNameId() == journalArticleClassNameId> 
45         
46            <#assign assetRenderer = entry.getAssetRenderer() /> 
47         
48            <#assign entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) /> 
49             
50            <#assign viewURL = getAssetViewURL(renderRequest, renderResponse, entry) /> 
51             
52            <#if assetLinkBehavior != "showFullContent"> 
53                <#assign viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, viewURL) /> 
54            </#if> 
55             
56            <#assign templateKey = SPECIAL_TEMPLATE_KEY /> 
57            <#assign className = "nebih-article-big" /> 
58                 
59            <#if entry_index &gt; 1> 
60                <#assign templateKey = DEFAULT_TEMPLATE_KEY /> 
61                <#assign className = "nebih-article-small" /> 
62            </#if> 
63             
64            <a href="${viewURL}" class="${className}"> 
65                <@liferay_ui["journal-article"] 
66                    articleResourcePrimKey=getterUtil.getLong(entry.getClassPK()) 
67                    templateId=templateKey 
68                /> 
69            </a> 
70         
71        </#if> 
72         
73    </#list> 
74</#if> 
75</div>