Um erro ocorreu enquanto processava o modelo.
Error on line 10, column 5 in 20154#20194#67355
entry.getAssetRenderer() is undefined.
It cannot be assigned to assetRenderer
1<#assign liferay_ui = taglibLiferayHash["/WEB-INF/tld/liferay-ui.tld"] /> 
2<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.portlet.journal.service.JournalArticleLocalService")> 
3<#assign dateformat = "dd/MM/yyyy" /> 
4 
5<h1>Destaques</h1> 
6 
7<ul class="list"> 
8  <#list entries as entry> 
9    <#assign entry = entry /> 
10    <#assign assetRenderer = entry.getAssetRenderer() /> 
11    <#assign entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) /> 
12    <#assign article = journalArticleLocalService.getLatestArticle(entry.getClassPK())/> 
13    <#assign document = saxReaderUtil.read(article.getContent())/> 
14    <#assign rootElement = document.getRootElement() /> 
15    <#assign xPathSelectorLink = saxReaderUtil.createXPath("dynamic-element[@name='link']") /> 
16    <#assign xPathSelectorNomeLink = saxReaderUtil.createXPath("dynamic-element[@name='nomelink']") /> 
17    <#assign link = xPathSelectorLink.selectSingleNode(rootElement).getStringValue() /> 
18    <#assign nomeLink = xPathSelectorNomeLink.selectSingleNode(rootElement).getStringValue() /> 
19    <#assign userTimeZone = themeDisplay.getUser().getTimeZone() /> 
20    <li> 
21      <p> 
22        ${dateUtil.getDate(entry.getPublishDate(), dateformat, locale, userTimeZone)} - ${entryTitle} - 
23        <a href="${link}" title="${entryTitle} - ${nomeLink}">${nomeLink}</a> 
24      </p> 
25    </li> 
26  </#list> 
27</ul>