NOTICIES. HISTORIAL

S'ha produït un error mentre es processava la plantilla.
The following has evaluated to null or missing:
==> dynamicElement.element('dynamic-content')  [in template "20115#20151#869258" at line 31, column 59]

----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign enlace = dynamicElement.eleme...  [in template "20115#20151#869258" at line 31, column 41]
----
1<#-- <#function completarUrl texto> 
2<#return texto?replace('href="/', 'href="${themeDisplay.getPathContext()}${themeDisplay.getPathFriendlyURLPublic()}/${themeDisplay.getSiteGroupName()}/')> 
3</#function> 
4--> 
5 
6<div class="row"> 
7    <div class="tramitess tramit_edicte noticias"> 
8	 <div class="cabecera_busqueda">                         
9            <ul class="botones_busqueda">                                                                  
10            </ul> 
11        </div> 
12 
13            <#if entries?has_content> 
14 
15                <#list entries as entry> 
16                    <#assign renderer = entry.getAssetRenderer() > 
17                    
18 
19                        <#if renderer.getClassName() == "com.liferay.journal.model.JournalArticle"> 
20                            <#assign journalArticle = renderer.getArticle() > 
21                            <#assign document = saxReaderUtil.read(journalArticle.getContentByLocale(locale)) >  
22                            <#assign rootElement = document.getRootElement() > 
23 
24                                   
25                                <#list rootElement.elements() as dynamicElement> 
26                                    <#if dynamicElement.attributeValue("name") == "titol_noticia"> 
27																			                                         
28																				                                    
29                                        <#assign titol = dynamicElement.element('dynamic-content').getText() /> 
30                                    <#elseif dynamicElement.attributeValue("name") == "Rdioahbo">    
31                                        <#assign enlace = dynamicElement.element('dynamic-content').getText() /> 
32                                    <#elseif dynamicElement.attributeValue("name") == "HTMLcm56">  
33                                        <#assign camphtml = dynamicElement.element('dynamic-content').getText() /> 
34									</#if> 
35                                     
36									 
37                                </#list> 
38 
39                        </#if>   
40													 <#if (journalArticle.getDisplayDate())??>						 
41                        <#assign displayDate = journalArticle.getDisplayDate()?date> 
42						<#if validator.isNotNull(displayDate)> 
43							<#assign displayDateFormated = dateUtil.getDate(displayDate, "dd/MM/yyyy", locale)> 
44								</#if> 
45						</#if> 
46						 
47									<div class="lista_noticias"> 
48                                             
49										<h3> ${titol}</h3> 
50										<i class="fa fa-calendar"><#if displayDateFormated??> ${displayDateFormated}</#if></i> 
51                                        <#if enlace?has_content> 
52                                                <#if enlace == "sien"> 
53												<#-- 	${completarUrl(camphtml)} --> 
54													${camphtml} 
55                                                </#if>   
56                                                <#if  enlace == "noen">   
57                                                    <p> </p> 
58                                                </#if> 
59                                                <#assign enlace = ''> 
60                                        <#else>  
61                                                <p></p> 
62                                             
63                                        </#if> 
64										 
65										 
66									</div> 						 
67                </#list> 
68            </#if> 
69 
70        
71	 <div class="cabecera_busqueda">                         
72            <ul class="botones_busqueda">                                                                  
73            </ul> 
74        </div> 
75 
76 
77      
78    </div> 
79</div>