konzept konzept

An error occurred while processing the template.
Expression assetRenderer.getArticle is undefined on line 25, column 32 in 10154#10194#73191.
1<#assign aui = taglibLiferayHash["/WEB-INF/tld/aui.tld"] /> 
2<#assign liferay_portlet = taglibLiferayHash["/WEB-INF/tld/liferay-util.tld"] /> 
3<#assign liferay_util = taglibLiferayHash["/WEB-INF/tld/liferay-util.tld"] /> 
4 
5 
6 
7 <#if entries?has_content> 
8   <#list entries as entry> 
9  
10     <#assign assetRenderer = entry.getAssetRenderer() /> 
11 
12  
13     <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry) /> 
14  
15     <#if assetLinkBehavior != "showFullContent"> 
16      <#assign viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, viewURL) /> 
17     </#if> 
18     <#assign itemTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) /> 
19      
20     <#-- Get Summary --> 
21     <#assign summary = htmlUtil.stripHtml(assetRenderer.getSummary(locale)) /> 
22 
23 
24     <#-- Get Headline --> 
25     <#assign journalArticle = assetRenderer.getArticle() /> 
26     <#assign document = saxReaderUtil.read(journalArticle.getContent()) /> 
27      
28     <#assign rootElement = document.getRootElement() /> 
29      
30     <#-- Get locale to use to extract headline --> 
31     <#assign availableLocales = rootElement.attribute("available-locales").getText() /> 
32     <#assign defaultLocale = rootElement.attribute("default-locale").getText() /> 
33     <#if (availableLocales?contains(locale)) > 
34        <#assign headlineLocale = locale /> 
35     <#else> 
36        <#assign headlineLocale = defaultLocale /> 
37     </#if> 
38      
39      
40     <#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Headline']//dynamic-content[@language-id='" + headlineLocale + "']") /> 
41 
42     <#if (xPathSelector.selectSingleNode(rootElement))?? >  
43        <#assign headline = xPathSelector.selectSingleNode(rootElement).getStringValue() /> 
44         
45     <#else> 
46        <#assign headline = ""/> 
47     </#if> 
48<div class="single_item multiple"> 
49      <a href="${viewURL}"><img src="${assetRenderer.getThumbnailPath(renderRequest)}" /></a> 
50      <div class="single_item_title multiple">${itemTitle}</div> 
51      <#if validator.isNotNull(headline) > 
52        <div class="single_item_headline multiple"><a href="${viewURL}">${headline}</a></div> 
53      </#if> 
54      <div class="single_item_text multiple">${summary}</div> 
55      <a class="single_item_more multiple" href="${viewURL}"><@liferay.language key="read-more" /></a> 
56</div> 
57 
58  </#list> 
59</#if>