Ruta de navegació

Xarxa-i.CAT Menú

Més notícies

Més notícies

Publicador de continguts

— 20 articles per pàgina
S'estan mostrant 1 - 20 de 60 resultats.

Notícies externes títol

Notícies externes

Publicador de continguts

S'ha produït un error mentre es processava la plantilla.
The following has evaluated to null or missing:
==> DATA_PDF  [in template "20154#20194#18166694" at line 54, column 67]

----
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: ${DATA_PDF}  [in template "20154#20194#18166694" at line 54, column 65]
----
1<#if entries?has_content> 
2    <div class="px-2"> 
3        <#list entries as entry> 
4            <#if entry.getClassName()=='com.liferay.journal.model.JournalArticle'> 
5                <#-- Journal Article --> 
6                    <#assign assetRenderer=entry.getAssetRenderer() /> 
7                    <#assign article=assetRenderer.getArticle() /> 
8                    <#assign articleStructure=article.getDDMStructure() /> 
9                    <#assign articleStructureFields=articleStructure.getRootFieldNames() /> 
10                    <#assign FORMAT_DATE=article.getCreateDate()?string("dd/MM/yyyy") /> 
11                    <#assign document=saxReaderUtil.read(article.getContent()) /> 
12                    <#assign rootElement=document.getRootElement() /> 
13                    <!-- Creacion de la URL para el detalle --> 
14                    <#assign path=themeDisplay.siteGroup.getPathFriendlyURL(false, themeDisplay) 
15                        siteUrl=themeDisplay.siteGroup.getFriendlyURL() sitePathUrl=path+siteUrl 
16                        assetPublisherPortletId="D4G660Rq1D9b" /> 
17                    <#assign ddmFormValuesReader=assetRenderer.getDDMFormValuesReader() /> 
18                    <#assign ddmFormValues=ddmFormValuesReader.getDDMFormValues() /> 
19                    <#assign NoticiaTitulo=htmlUtil.escape(assetRenderer.getTitle(locale)) /> 
20                    <#assign sitioID=assetRenderer.getGroupId() urlTitle=article.getUrlTitle() 
21                        NoticiaURL="${sitePathUrl}/noticia/-/asset_publisher/${assetPublisherPortletId}/content/${urlTitle}/${sitioID}?_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_${assetPublisherPortletId}_assetEntryId=${entry.entryId}" /> 
22                    <!-- FIN Creacion de la URL para el detalle --> 
23                    <#-- Fields --> 
24											<#list articleStructureFields as field> 
25                            <#assign xPathSelectorDocument=saxReaderUtil.createXPath("dynamic-element 
26                                [@name='${field}' 
27                                ]") /> 
28                            <#assign fieldElement=xPathSelectorDocument.selectSingleNode(rootElement) /> 
29                            <#assign fieldContent=fieldElement.getStringValue() /> 
30                            <#-- Accessing child elements of the group --> 
31                                <#if fieldElement.attribute("type").getValue()=="fieldset"> 
32                                    <#list fieldElement.elements() as groupElement> 
33                                        <#assign childFieldName=groupElement.attribute("name").getValue() /> 
34                                        <#assign childXPath="dynamic-element[@name='${field}']/dynamic-element[@name='${childFieldName}']/dynamic-content" /> 
35                                        <#assign xPathChildFieldContent=saxReaderUtil.createXPath(childXPath) /> 
36                                        <#if childFieldName=='ARSEC_LINKURL'> 
37                                            <#assign ARSEC_LINKURL = xPathChildFieldContent.selectSingleNode(rootElement).getStringValue() /> 
38                                                     
39                                        </#if> 
40																			</#list> 
41																	</#if> 
42                                     
43                    <#if field=='ARSEC_MODULE_LANGTITLE'> 
44                         <#assign ARSEC_MODULE_LANGTITLE=fieldContent?trim /> 
45                     </#if> 
46										 <#if field=='DATA_PDF'> 
47                        <#assign cleanedDate = fieldContent?trim /> 
48                        <#assign DATA_PDF = cleanedDate?date("yyyy-MM-dd")?string("dd/MM/yyyy") /> 
49                     </#if> 
50                        </#list> 
51<div class="informacio_portada_noticia_subprincipal" > 
52    <h2 class="titol_noticia_banner_dreta"> 
53        <a href="${ARSEC_LINKURL}" target="_blank" title="${ARSEC_MODULE_LANGTITLE}"> 
54					<span class="fexternes">${DATA_PDF}</span> ${ARSEC_MODULE_LANGTITLE} 
55			  </a> 
56    </h2> 
57</div> 
58            </#if> 
59        </#list> 
60    </div> 
61</#if> 
62			 
63<style type="text/css"> 
64.titol_noticia_banner_dreta { 
65    line-height: 22px; 
66    border-bottom: 0.1em dashed; 
67    border-color: #999; 
68    padding-bottom: 0.5em; 
69    padding-left: 1.7em; 
70    text-align: justify; 
71    background-image: url(https://ruralcat.gencat.cat/documents/20181/10572366/formas-rojos.png/b5fac849-095e-4f12-aa84-784f77bbd433?t=1684152417151); 
72    background-position: left; 
73    background-position-y: top; 
74    background-repeat: no-repeat; 
75
76.titol_noticia_banner_dreta a { 
77    
78   text-decoration: none; 
79   color:#000000; 
80   font-size: 0.45em; 
81
82 
83 .titol_noticia_banner_dreta a:hover {color:#000000;text-decoration:none!important; 
84    opacity: .8; 
85    -webkit-transition: opacity .4s; 
86    transition: opacity .4s; 
87 
88
89.fexternes { 
90    background-color: #f1f1f1; 
91    font-style: normal; 
92    padding-left: 0.5em; 
93    padding-right: 0.5em; 
94    color: #666; 
95    margin-right: 0.5em; 
96    clear: both; 
97    width: 100%; 
98    display: block; 
99
100 
101.informacio_portada_noticia_subprincipal { 
102    background: none !important; 
103
104 
105.informacio .informacio_portada_noticia_subprincipal { 
106    padding-top: 0px !important; 
107
108</style>