Categories Navigation

Categories Navigation

Salú

Fondos FEDER 2014-2020

Actuaciones de Fondos Europeos: P.O. FEDER Asturias 2014-2020

FONDO EUROPEO DE DESARROLLO REGIONAL (FEDER) Una manera de hacer Europa

Seguranza alimentaria

Guías d’Hixene y Autocontrol

Guíes d’ayuda pa la utilización d’aparatos de bronciamientu, pal autocontrol de piscines, etc.

Trámites Administrativos

Información sobre trámites relacionados con la Seguridad Alimentaria.

Registro Sanitario de Alimentos

Registro Nacional obligatorio para las empresas alimentarias
Astursalú y salú pública

Astursalú y salú pública

Portal de sanidá ambiental

Laboratorio de salud pública y Servicio de Seguridad Alimentaria y Sanidad Ambiental

Astursalud

Portal de salud Asturias

Sanidá ambiental

Trámites administrativos

Conoce la tramitación de actividades relacionadas con la sanidad ambiental

Registro de biocidas

Establecimientos, servicios biocidas corporativos e inscripción en el registro oficial.

Legionella

Normativa, tratamiento de instalacion y formación del personal en materia higiénico-sanitaria.

Piscinas de uso colectivo

Tratamiento de agua, sistema de autocontrol y más información sobre las piscias de uso colectivo.

Farmacies y centros de salú

Buscador de centros asistenciales

Localiza centros de salud, consultorios locales de Asturias, hospitales, centros de salud mental y otros recursos asistenciales

Centros d’atención primaria

Listado de centros de atención primaria en Asturias

Farmacies

Farmacias de guardia, farmacias que supervisan y notfican test de antígenos...

Asset Publisher

Contenidos con Jerarquía Webasturias Salú .

Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> journalArticleService.fetchLatestArticle(destacamosClassPk?number)  [in template "217051#217099#573561" at line 45, column 71]

----
Tip: If the failing expression is known to be 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: journalArticle = journalArticleServic...  [in template "217051#217099#573561" at line 45, column 54]
	- Reached through: #assign-container  [in template "217051#217099#573561" at line 45, column 45]
----
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> 

Asset Publisher

Asset Publisher

Contenidos con Jerarquía Webasturias Salú .

Contacta columna derecha

Contacta

Serviciu d'atención ciudadana

Iconu - Llámanos

Llámanos al 012 (985 279 100 dende fuera d'Asturies)

Iconu - Buzón del ciudadanu

Escríbinos al buzón ciudadanu

Iconu - Ven a venos

Ven a venos a les nuestres oficines

Iconu - Solicita cita previa

Solicita cita previa