Visualizar Conteúdo Web Visualizar Conteúdo Web

Decisões

Publicação de Recursos Publicação de Recursos

Ocorreu um erro ao processar o modelo.
Expression renderer.getArticle is undefined on line 8, column 36 in 10155#10195#14515.
1<div class="legislation"> 
2    <!--<h2>Legislação</h2> 
3    <div class="dre-logo"></div>--> 
4    <div class="list"> 
5        <#if entries?has_content> 
6            <#list entries as curEntry> 
7                <#assign renderer = curEntry.getAssetRenderer() > 
8                <#assign article = renderer.getArticle() > 
9                <#assign title = article.getTitle(locale) > 
10                <#assign articleUrl = article.getUrlTitle() > 
11 
12                <#assign document = saxReaderUtil.read(article.getContentByLocale(locale)) > 
13         
14                <#assign link = document.selectSingleNode("/root/dynamic-element[@name='link']/dynamic-content").getData() > 
15                 
16                <#assign description = document.selectSingleNode("/root/dynamic-element[@name='description']/dynamic-content").getData() > 
17 
18                <div class="row-fluid"> 
19                    <div class="span12">   
20                        <#if link?has_content> 
21                            <a href="${link}" target="_blank" title="${title}">${title}</a> 
22                            <#else> 
23                                <#assign file = document.selectSingleNode("/root/dynamic-element[@name='file']/dynamic-content").getData() > 
24                                <a href="${file}" target="_blank" title="${title}">${title}</a> 
25                        </#if> 
26                        <p>${description}</p> 
27                    </div> 
28                </div> 
29            </#list> 
30        </#if> 
31    </div> 
32</div>