Navegación por categorías

Se ha producido un error al procesar la plantilla.
Java method "com.sun.proxy.$Proxy67.getAssetCategory(long)" threw an exception when invoked on com.sun.proxy.$Proxy67 object "com.liferay.asset.categories.internal.service.AssetCategoryPropertyAssetCategoryLocalServiceWrapper@78786ff4"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: category = assetCategoryService.getAs...  [in template "217051#217099#573763" at line 49, column 22]
	- Reached through: #assign-container  [in template "217051#217099#573763" at line 49, column 13]
----
1<#assign assetCategoryService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService") 
2		 assetCategoryPropertyService =  serviceLocator.findService("com.liferay.asset.category.property.service.AssetCategoryPropertyLocalService") 
3		 SAXReaderUtil = staticUtil["com.liferay.portal.kernel.xml.SAXReaderUtil"] 
4		 HtmlUtil = staticUtil["com.liferay.portal.kernel.util.HtmlUtil"] 
5		 layoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") 
6		 PortletURLFactoryUtil = staticUtil["com.liferay.portal.kernel.portlet.PortletURLFactoryUtil"] 
7		 PortletRequest = staticUtil["javax.portlet.PortletRequest"]     
8		 journalArticleService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")   
9		 ParamUtil = staticUtil["com.liferay.portal.kernel.util.ParamUtil"]              
10         categoryId = ParamUtil.getLong(request,"categoryId", 0) 
11         title =  ParamUtil.getString(request,"title", "") 
12         maxLoop = 100          
13         imageId = ParamUtil.getString(request,"imageId","")          
14/> 
15 
16<#if (categoryId <= 0) > 
17	<#assign categoryId = ParamUtil.getLong(renderRequest,"categoryId", 0)/> 
18</#if> 
19 
20<#if (categoryId <= 0) > 
21    <#if entries?has_content> 
22		<#foreach aCategory in entries?first.getCategories()> 
23			<#assign aCategory = aCategory/> 
24			<#break> 
25		</#foreach> 
26		<#list 1..maxLoop as i> 
27			<#list 1..maxLoop as j> 
28				<#if aCategory.getParentCategory()?has_content> 
29					<#assign aCategory = aCategory.getParentCategory()/> 
30				<#else> 
31					<#assign categoryId = aCategory.getCategoryId()/> 
32			   </#if>   
33			   <#break> 
34			</#list> 
35			<#if (categoryId > 0) > 
36				<#break> 
37			</#if> 
38		</#list> 
39	 </#if> 
40</#if> 
41 
42 
43<nav aria-label="breadcrumb"> 
44    <ol class="breadcrumb"> 
45       <li class="breadcrumb-title"><span>${languageUtil.get(locale,"webasturias.breadcrumb-title")}</span></li> 
46       <#--<li class="breadcrumb-item"><a href="/">${languageUtil.get(locale,"webasturias.breadcrumb-asturias")}</a></li>-->         
47        <#if (categoryId > 0) > 
48 
49            <#assign category = assetCategoryService.getAssetCategory(categoryId) 
50                     categoryAncestors = category.getAncestors() 
51                     breadCrumbContent = ""/> 
52                      
53            <#if categoryAncestors?has_content> 
54                <#foreach categoryAncestor in categoryAncestors> 
55                	 
56                	<#assign hideCategory = false/> 
57                	 
58                	<#-- obtener el contenido de la categoría hija --> 
59                	<#assign contentId = (assetCategoryPropertyService.fetchCategoryProperty(categoryAncestor.getCategoryId(), "idContenido").getValue())!""/> 
60					<#if contentId ? has_content>			         
61		            	<#assign journalArticleSub = journalArticleService.getLatestArticle(groupId,contentId)/> 
62		        		 
63		        		<#if journalArticleSub?has_content> 
64			        		<#-- obtener el contenido de la categoría actual --> 
65			                <#assign document = SAXReaderUtil.read(journalArticleSub.getContentByLocale(locale)) 
66                    		 	pageDetailNode =  document.selectSingleNode("/root/dynamic-element[@name='paginaDetalle']/dynamic-content") 
67                    		 	/> 
68                    		 <#if document.selectSingleNode("/root/dynamic-element[@name='visibleMigas']/dynamic-content")?has_content> 
69                    		 	<#assign visibleMigasNode =  document.selectSingleNode("/root/dynamic-element[@name='visibleMigas']/dynamic-content")  
70                    		 			 visibleMigas =  visibleMigasNode.getText() 
71                    		 			 hideCategory = visibleMigas != "1"/> 
72                    		 </#if> 
73			        	</#if>		 	      		    	  
74			    	  
75				    	 <#if pageDetailNode?has_content && pageDetailNode.getText()?has_content> 
76			        		<#assign  pageDetail = pageDetailNode.getText()/> 
77			        		<#if (pageDetail?index_of("@")>0)> 
78		                		<#assign pageDetailPosition = (pageDetail?index_of("@")-1) 
79		                         	pageDetail = pageDetail[0..pageDetailPosition] 
80		                          	layoutDetail = layoutLocalService.getLayout(themeDisplay.getScopeGroupId(),false,pageDetail?number) 
81		                      	/> 
82		                	</#if> 
83			            <#else> 
84			            	<#assign detailPage = "general" 
85			            	 		 layoutDetail = layoutLocalService.getFriendlyURLLayout(themeDisplay.getScopeGroupId(), false, "/"+detailPage) /> 
86			            </#if> 
87			             
88			            <#assign categoryUrl = PortletURLFactoryUtil.create(request, "com_liferay_asset_categories_navigation_web_portlet_AssetCategoriesNavigationPortlet", layoutDetail.getPlid(), PortletRequest.RENDER_PHASE)    /> 
89	                    ${categoryUrl.setParameter("categoryId",categoryAncestor.getCategoryId()+"")} 
90	                 
91	                	<#if !(hideCategory?has_content && hideCategory)> 
92	                		<#if categoryAncestor.isRootCategory()> 
93		                		<#assign breadCrumbContent = "<li class='breadcrumb-item'><a href='"+categoryUrl+"'>"+categoryAncestor.getTitle(locale)+" </a> </li>"+breadCrumbContent/> 
94		                	<#else> 
95		                    	<#assign breadCrumbContent = "<li class='breadcrumb-item'><a href='"+categoryUrl+"'>"+categoryAncestor.getTitle(locale)+" </a> </li>"+breadCrumbContent/> 
96		                    </#if>	                   		 
97	                   	</#if> 
98                	</#if> 
99                </#foreach> 
100                 
101                ${breadCrumbContent} 
102                 
103            </#if> 
104             
105            <#assign hideCategory = false/> 
106            <#assign contentId = (assetCategoryPropertyService.fetchCategoryProperty(category.getCategoryId(), "idContenido").getValue())!""/> 
107			<#if contentId ? has_content>	 
108            	<#assign journalArticleSub = journalArticleService.getLatestArticle(groupId,contentId)/> 
109        		 
110        		<#if journalArticleSub?has_content> 
111	        		<#-- obtener el contenido de la categoría actual --> 
112	                <#assign document = SAXReaderUtil.read(journalArticleSub.getContentByLocale(locale)) 
113            		 	pageDetailNode =  document.selectSingleNode("/root/dynamic-element[@name='paginaDetalle']/dynamic-content") 
114            		 	/> 
115            		 <#if document.selectSingleNode("/root/dynamic-element[@name='visibleMigas']/dynamic-content")?has_content> 
116            		 	<#assign visibleMigasNode =  document.selectSingleNode("/root/dynamic-element[@name='visibleMigas']/dynamic-content")  
117            		 			 visibleMigas =  visibleMigasNode.getText() 
118            		 			 hideCategory = visibleMigas != "1"/> 
119            		 </#if> 
120	        	</#if>  	  
121	    	  
122		    	<#if pageDetailNode?has_content && pageDetailNode.getText()?has_content> 
123	        		<#assign  pageDetail = pageDetailNode.getText()/> 
124	        		<#if (pageDetail?index_of("@")>0)> 
125                		<#assign pageDetailPosition = (pageDetail?index_of("@")-1) 
126                         	pageDetail = pageDetail[0..pageDetailPosition] 
127                          	layoutDetail = layoutLocalService.getLayout(themeDisplay.getScopeGroupId(),false,pageDetail?number) 
128                      	/> 
129                	</#if> 
130	            <#else> 
131	            	<#if category.isRootCategory()> 
132	            		<#assign detailPage = "inicio"/> 
133	            	<#else> 
134	            		<#assign detailPage = "general"/> 
135	            	</#if> 
136	            	 
137	            	<#assign layoutDetail = layoutLocalService.getFriendlyURLLayout(themeDisplay.getScopeGroupId(), false, "/"+detailPage) /> 
138	            </#if> 
139	             
140	            <#assign categoryUrl = PortletURLFactoryUtil.create(request, "com_liferay_asset_categories_navigation_web_portlet_AssetCategoriesNavigationPortlet", layoutDetail.getPlid(), PortletRequest.RENDER_PHASE)    /> 
141                ${categoryUrl.setParameter("categoryId",category.getCategoryId()+"")} 
142             
143            	<#if !(hideCategory?has_content && hideCategory)> 
144            		<#if category.isRootCategory()> 
145                		<#if title?has_content> 
146                			<li class="breadcrumb-item"><a href="/inicio">${category.getTitle(locale)}</a></li>		                		 
147                		<#else> 
148                			<li class="breadcrumb-item active">${category.getTitle(locale)}</li> 
149                		</#if>  
150                	<#else> 
151                    	<#if title?has_content> 
152                			<li class="breadcrumb-item"><a href="${categoryUrl}<#if imageId ? has_content>?imageId=${imageId}&title=${HtmlUtil.escapeURL(category.getTitle(locale))}</#if>">${category.getTitle(locale)}</a></li>		                		 
153                		<#else> 
154                			<li class="breadcrumb-item active">${category.getTitle(locale)}</li> 
155                		</#if>  
156                    </#if>	                		               		 
157               	</#if> 
158        	</#if> 
159        </#if> 
160        <#if title ? has_content> 
161        	<li class="breadcrumb-item active">${title}</li>  
162        </#if> 
163    </ol> 
164</nav> 
165 
166<script type="text/javascript"> 
167	$( document ).ready(function() { 
168		 if(typeof ga !== "undefined") { 
169		 <#if title ? has_content> 
170		 	var pageName = '${title}'; 
171		 <#elseif category ? has_content> 
172		 	var pageName = '${category.getName()}'; 
173		 <#else> 
174		 	var pageName = location.pathname; 
175		 </#if> 
176			     ga( 'send', 'pageview', { 
177				    'page': pageName, 
178				    'title': pageName 
179				} ); 
180
181	}); 
182</script> 

Navegación por categorías

Se ha producido un error al procesar la plantilla.
Java method "com.sun.proxy.$Proxy67.getAssetCategory(long)" threw an exception when invoked on com.sun.proxy.$Proxy67 object "com.liferay.asset.categories.internal.service.AssetCategoryPropertyAssetCategoryLocalServiceWrapper@78786ff4"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign currentCategory = assetCatego...  [in template "217051#217099#TPL_ARTICULO" at line 20, column 9]
----
1<#assign dlFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")		  
2		 journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
3		 assetCategoryService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService") 
4		 ParamUtil = staticUtil["com.liferay.portal.kernel.util.ParamUtil"] 
5		 newTitle = languageUtil.get(locale, "article") + " : " + titulo.getData()	 
6/> 
7 
8${portalUtil.setPageTitle(newTitle, request)} 
9 
10<#if ! themeDisplay ? has_content>         
11    <#assign liferay_theme = PortletJspTagLibs["/META-INF/liferay-theme.tld"] /> 
12    <@liferay_theme["defineObjects"] /> 
13</#if> 
14 
15<#if (! categoryId?has_content) > 
16      <#assign categoryId = ParamUtil.getLong(request,"p_r_p_categoryId") /> 
17</#if> 
18 
19<#if (categoryId?has_content && categoryId != 0) > 
20	<#assign currentCategory = assetCategoryService.getAssetCategory(categoryId?number) /> 
21</#if> 
22 
23<#--<div class="link-print"><a class="print" href="javascript:window.print();" title="<@liferay.language key="webasturias.general.print" />"><@liferay.language key="webasturias.general.print" /></a></div>--> 
24 
25 
26<#if currentCategory?has_content >	 
27	<h2 class="mb-0">${currentCategory.getTitle(locale)}</h2> 
28<#else> 
29	<h2 class="mb-0">${titulo.getData()}</h2> 
30</#if> 
31 
32<div class="plantilla-articulo plantilla-detalle-contenido"> 
33	<#if (currentCategory??) > 
34		<#if titulo.getData()?? && titulo.getData() != ""> 
35			<div class="subtitle">${titulo.getData()}</div> 
36		</#if> 
37	</#if> 
38	<#if resumen.getData()?? && resumen.getData() != ""> 
39		<div class="summary">${resumen.getData()}</div> 
40	</#if> 
41	 
42	<div class="row"> 
43		<#if imagen.getData()?? && imagen.getData() != ""> 
44			<div class="image col-md-3 row-image"> 
45				<img data-fileentryid="${imagen.getAttribute("fileEntryId")}" alt="${imagen.getAttribute("alt")}" src="${imagen.getData()}" />	 
46			</div>						 
47			<div class="contenido-article col-md-9"> 
48		<#else> 
49			<div class="contenido-article col-md-12"> 
50		</#if> 			 
51				<#if descripcion.getData()?? && descripcion.getData() != ""> 
52					<div class="description"> 
53						${descripcion.getData()} 
54					</div> 
55				</#if>	 
56				<#if (articulosRelacionados?has_content && articulosRelacionados.getSiblings()?has_content && articulosRelacionados.getSiblings()[0].getData()?has_content)> 
57					<div class="contenido-article contenidos-relacionados"> 
58						<ul> 
59			                <#list articulosRelacionados.getSiblings() as cur_articulosRelacionados>                                 
60			                    <#if cur_articulosRelacionados.getData() ? has_content> 
61			                        <#assign curArticuloId=cur_articulosRelacionados.getData()?keep_after("\"classPK\":\"")?keep_before("\"")/> 
62			                        <#if curArticuloId? has_content> 
63			                            <#assign curArticuloJournal = journalArticleLocalService.getLatestArticle(curArticuloId?number)/>			                             
64			                            <li>${journalArticleLocalService.getArticleContent(curArticuloJournal, "TPL_ARTICULO_TIPO_LIST", "VIEW", locale, themeDisplay)}</li>			                            
65			                       </#if> 
66			                    </#if>                                    
67			                </#list>     
68			            </ul>    
69					</div> 
70				</#if> 
71				 
72				<#if subapartado.getSiblings()?has_content>			        	 
73					<#list subapartado.getSiblings() as cur_subapartado>	 
74						<div class="description"> 
75	                  		<#if cur_subapartado.tituloSubapartado.getData()?? && cur_subapartado.tituloSubapartado.getData() != ""> 
76								<h4>${cur_subapartado.tituloSubapartado.getData()}</h4>	 
77				          	</#if>           
78		                  	<#if cur_subapartado.descripcionSubapartado.getData()?? && cur_subapartado.descripcionSubapartado.getData() != ""> 
79								${cur_subapartado.descripcionSubapartado.getData()}	 
80				          	</#if>   
81				        </div> 
82	              	</#list>		            	     
83				</#if>     			 
84															 
85			</div> 
86	</div> 
87	 
88	<#if (ficherosRelacionados?has_content && ficherosRelacionados.getSiblings()?has_content && ficherosRelacionados.getSiblings()[0].getData()?has_content)> 
89        <div class="contenido-article ficheros-relacionados">                   
90            <ul> 
91                <#list ficherosRelacionados.getSiblings() as cur_ficherosRelacionados>                                 
92                    <#if cur_ficherosRelacionados.getData() ? has_content> 
93					   <#assign fileEntryUrl = cur_ficherosRelacionados.getData() 
94							fileUuidPosition = (fileEntryUrl?last_index_of("/")) + 1 
95							fileEntryUrlLength = (fileEntryUrl?length) - 1 
96							fileUuid = fileEntryUrl[fileUuidPosition..fileEntryUrlLength]			              
97							fileUuidPosition2 = (fileUuid ?last_index_of("?")) -1 
98							fileUuid2 = fileUuid[0..fileUuidPosition2]						 
99							fileEntry = dlFileEntryLocalService.getFileEntryByUuidAndGroupId(fileUuid2,groupId) 
100							/>	 
101 
102						<#assign tituloFichero = fileEntry.getTitle() /> 
103		                 
104		                <li><a title="<@liferay.language key="webasturias.general.download" /> ${tituloFichero}. <@liferay.language key="webasturias.general.external-link" />"  
105					   			href="${fileEntryUrl}" class="${fileEntry.getExtension()}" target="_blank"> 
106					  			${tituloFichero} (<span class='extension'>${fileEntry.getExtension()}</span>:&#160;${(fileEntry.getSize()/1024)?string("##0.00")}Kb) </a> 
107					    </li>					  				  										 
108                    </#if>                                    
109                </#list>     
110            </ul>             
111        </div>             
112    </#if> 
113   
114    <#if enlaceExterno.getData()?? && enlaceExterno.getData() != ""> 
115    	<#assign nombreEnlace = titulo.getData()> 
116	    <#if (textoAlternativoExterno.getData()?? && textoAlternativoExterno.getData() != "")> 
117			 <#assign nombreEnlace = textoAlternativoExterno.getData()> 
118		</#if> 
119					 
120		<div class="enlaceExterno"> 
121			<a href="${enlaceExterno.getData()}" target="_blank">${nombreEnlace}</a> 
122    	</div> 
123	</#if>		 
124		 
125</div> 

Publicador de contenidos

Se ha producido un error al procesar la plantilla.
Java method "com.sun.proxy.$Proxy665.getCategoryProperty(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy665 object "com.liferay.asset.category.property.service.impl.AssetCategoryPropertyLocalServiceImpl@139ca8c5"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #if assetCategoryPropertyService.getC...  [in template "217051#217099#573561" at line 20, column 5]
----
1<#assign assetCategoryService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService") 
2		 assetCategoryPropertyService =  serviceLocator.findService("com.liferay.asset.category.property.service.AssetCategoryPropertyLocalService") 
3         assetCategoriesCustomService = serviceLocator.findService("pa.mtl.assetcategories.service.api.AssetCategoriesServiceApi") 
4		 SAXReaderUtil = staticUtil["com.liferay.portal.kernel.xml.SAXReaderUtil"] 
5		 HtmlUtil = staticUtil["com.liferay.portal.kernel.util.HtmlUtil"] 
6		 layoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") 
7		 PortletURLFactoryUtil = staticUtil["com.liferay.portal.kernel.portlet.PortletURLFactoryUtil"] 
8		 PortletRequest = staticUtil["javax.portlet.PortletRequest"]   
9		 journalArticleService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")   
10		 ParamUtil = staticUtil["com.liferay.portal.kernel.util.ParamUtil"]              
11         categoryId = ParamUtil.getLong(request,"categoryId", 0) 
12		 portalUtil = staticUtil["com.liferay.portal.kernel.util.PortalUtil"]         
13         /> 
14<!-- Comprobación de la propiedad categoryId --> 
15<#if (categoryId <= 0) > 
16	<#assign categoryId = ParamUtil.getLong(renderRequest,"categoryId", 0)/> 
17</#if> 
18 
19<#if (categoryId > 0) > 
20    <#if assetCategoryPropertyService.getCategoryProperty(categoryId,"idContenido") ? has_content > 
21        <#assign contentIdProperty = assetCategoryPropertyService.getCategoryProperty(categoryId,"idContenido")/> 
22        <#assign contentId = contentIdProperty.getValue()/> 
23        <#if contentId ? has_content> 
24            <#assign journalArticleSub = journalArticleService.getLatestArticle(groupId,contentId)/> 
25             
26            <#assign document = SAXReaderUtil.read(journalArticleSub.getContentByLocale(locale)) 
27                destacamosNode =  document.selectNodes("/root/dynamic-element[@name='destacamos']/dynamic-content") 
28            /> 
29            <#if destacamosNode[0].getText()?has_content> 
30                <div class="caja-redonda sin-fondo">  
31                <h3>${languageUtil.get(locale,'webasturias.destacamos.titulo')}</h3>  
32                <div class="caja-redonda-content">   
33                    <div class="content-summary without-icon">  
34                        <ul> 
35							<#assign structureEnlace = assetCategoriesCustomService.getJournalStructureByKey(groupId, "STR_ENLACE") /> 
36							<#assign structureEnlaceSidra = assetCategoriesCustomService.getJournalStructureByKey(groupId, "STR_ENLACE_SIDRA") /> 
37							<#assign structureArticulo = assetCategoriesCustomService.getJournalStructureByKey(groupId, "STR_ARTICULO") /> 
38 
39                            <#list destacamosNode as destacamos> 
40                                <#if destacamos?has_content> 
41                                    <#if destacamos.getText() ? has_content> 
42                                        <#assign  destacamosJSONObject = jsonFactoryUtil.createJSONObject(destacamos.getText()) />                                             
43                                        <#if  destacamosJSONObject.get("classPK")?has_content> 
44										    <#assign destacamosClassPk = destacamosJSONObject.get("classPK") /> 
45                                            <#assign journalArticle = journalArticleService.fetchLatestArticle(destacamosClassPk?number)  
46                                                    currentUrl = renderResponse.createRenderURL()								                  
47                                                    document = SAXReaderUtil.read(journalArticle.getContentByLocale(locale))                 		  
48                                                    urlEnlace = ""                 		 
49                                                    titulo = "" 
50                                            /> 
51                             
52                                            <#if  document.selectSingleNode("/root/dynamic-element[@name='titulo']/dynamic-content") ? has_content> 
53                                                <#assign tituloNode = document.selectSingleNode("/root/dynamic-element[@name='titulo']/dynamic-content") 
54                                                    titulo = tituloNode.getText() 
55                                                    /> 
56                                            </#if>	 
57                                            <#if  document.selectSingleNode("/root/dynamic-element[@name='urlEnlace']/dynamic-content") ? has_content> 
58                                                <#assign urlEnlaceNode = document.selectSingleNode("/root/dynamic-element[@name='urlEnlace']/dynamic-content") 
59                                                    urlEnlace = urlEnlaceNode.getText() 
60                                                    /> 
61                                            </#if>	                			 
62                                             
63                                            <#if structureArticulo.getStructureKey() == journalArticle.getStructureId() > 
64                                                <#assign detailPage = "detalle" 
65                                                    layoutDetail = layoutLocalService.getFriendlyURLLayout(themeDisplay.getScopeGroupId(), false, "/"+detailPage) 
66                                                    detailUrl = PortletURLFactoryUtil.create(request, "com_liferay_asset_categories_navigation_web_portlet_AssetCategoriesNavigationPortlet", layoutDetail.getPlid(), PortletRequest.RENDER_PHASE) 
67                                                />      
68                                                     
69                                                ${detailUrl.setParameter("articleId", journalArticle.getArticleId())} 
70                                                ${detailUrl.setParameter("categoryId",categoryId?string)} 
71                                                 
72                                                <li> 
73                                                    <a href="${detailUrl}&articleId=${journalArticle.getArticleId()}&title=${HtmlUtil.escapeURL(titulo)}&redirect=${HtmlUtil.escapeURL(currentUrl)}" 
74                                                    title="${languageUtil.get(locale,'webasturias.general.more-info-sobre')} ${titulo}">${titulo}</a>  
75                                                </li>		     	             	 
76                                            <#elseif structureEnlace.getStructureKey() == journalArticle.getStructureId() > 
77                                                <#if  document.selectSingleNode("/root/dynamic-element[@name='urlEnlace']/dynamic-content") ? has_content> 
78                                                    <#assign urlEnlaceNode = document.selectSingleNode("/root/dynamic-element[@name='urlEnlace']/dynamic-content") 
79                                                        urlEnlace = urlEnlaceNode.getText() 
80                                                        /> 
81                                                </#if>	 
82                                                <li> 
83                                                    <a class="popup" target="_blank" href="${urlEnlace}"  
84                                                        title="${titulo}. ${languageUtil.get(locale,'webasturias.general.external-link')}">${titulo}</a> 
85                                                </li>  
86											 <#elseif structureEnlaceSidra.getStructureKey() == journalArticle.getStructureId() > 
87												<#assign  assetCategory = assetCategoryService.getCategory(categoryId) 
88													categoryName = assetCategory.getTitle(locale) 
89													titulo = titulo?replace("xxxx", categoryName)/> 
90												  
91												 <#if  document.selectSingleNode("/root/dynamic-element[@name='urlEnlace']/dynamic-content") ? has_content> 
92														<#assign urlEnlaceNode = 		document.selectSingleNode("/root/dynamic-element[@name='urlEnlace']/dynamic-content") 
93														urlEnlace = urlEnlaceNode.getText()?replace("migaurlReplace", portalUtil.getCurrentCompleteURL(request))?replace("migatextoReplace", categoryName)?replace("textoReplace", categoryName)  
94														/> 
95													</#if>	 
96													<li> 
97														<a class="popup" target="_blank" href="${urlEnlace}"  
98															title="${titulo}. ${languageUtil.get(locale,'webasturias.general.external-link')}">${titulo}</a> 
99													</li>  
100												</#if> 
101                                        </#if> 
102                                    </#if> 
103                                </#if> 
104                            </#list> 
105                            </ul> 
106                        </div>  
107                    </div>  
108                </div> 
109            </#if> 
110        </#if> 
111    </#if> 
112</#if> 

Contacta columna derecha

Contacta

Servicio de atención ciudadana

Icono - Llámanos

Llámanos al 985.279.100 o al 012 (985.279.100 desde fuera de Asturias)
Puedes consultar el coste de la llamada pulsando sobre el enlace

Icono - Buzón del ciudadano

Escríbenos al buzón del ciudadano

Icono - Ven a vernos

Ven a vernos a nuestras oficinas

Icono - Solicita cita previa

Solicita cita previa

Icono - Conversa

Conversa @012Asturias