MurciaSalud
Recursos humanos y empleo
An error occurred while processing the template.
For "." left-hand operand: Expected a hash, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> especialidadCat [in template "20101#20128#11824998" at line 42, column 46]
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign especialidadAncestors = espec... [in template "20101#20128#11824998" at line 42, column 13]
----
1<#assign ID_VOCABULARIO_CICLO = 7011369 />
2<#assign LISTA_DOCUMENTOS_LAYOUT_ID = 203 />
3
4<#function buildFilterUrl targetLayout idEspecialidad idConvocatoria>
5
6 <#assign filterUrl = portalUtil.getLayoutFullURL(targetLayout, themeDisplay) />
7
8 <#assign filterUrl = filterUrl + "/-/categories/" + idEspecialidad?c + "?p_r_p_categoryId=" + idEspecialidad + "&p_r_p_categoryId1=" + idConvocatoria />
9
10 <#return filterUrl >
11
12</#function>
13<#function buildBackUrl targetLayout idEspecialidad >
14
15 <#assign filterUrl = portalUtil.getLayoutFullURL(targetLayout, themeDisplay) />
16
17 <#assign filterUrl = filterUrl + "/-/categories/" + idEspecialidad?c + "?p_r_p_categoryId=" + idEspecialidad />
18
19 <#return filterUrl >
20
21</#function>
22<#function buildLandingUrl targetLayout >
23
24 <#assign filterUrl = portalUtil.getLayoutFullURL(targetLayout, themeDisplay) />
25
26 <#assign filterUrl = filterUrl/>
27
28 <#return filterUrl >
29
30</#function>
31
32<#assign listaDocumentosLayout = smsObjectInstancer.getLayout(themeDisplay.getScopeGroupId(), LISTA_DOCUMENTOS_LAYOUT_ID, false) />
33<#assign httpRequest = portalUtil.getOriginalServletRequest(portalUtil.getHttpServletRequest(renderRequest)) />
34<#assign especialidadCat = "" />
35<#if httpRequest.getParameter("p_r_p_categoryId")?has_content >
36 <#assign especialidadParam = getterUtil.getString(httpRequest.getParameter("p_r_p_categoryId"), "0") />
37 <#assign especialidadCat = smsObjectInstancer.getAssetEntryCategory(especialidadParam) />
38</#if>
39<#assign printTitle=false/>
40<#assign printSubtitle=false/>
41 <p class="font-weight-semibold align-items-center mt-0">
42 <#assign especialidadAncestors = especialidadCat.getAncestors() />
43 <#list especialidadAncestors?reverse as nextAncestor>
44 <#if nextAncestor?is_first>
45 <#assign ID_LAYOUT_CATEGORIAS_ESPECIALIDADES = 199/>
46 <#assign layoutLandingCategorias = smsObjectInstancer
47 .getLayout(themeDisplay.getScopeGroupId(),
48 ID_LAYOUT_CATEGORIAS_ESPECIALIDADES,
49 false) />
50 <a href="${buildLandingUrl(layoutLandingCategorias)}">
51 ${nextAncestor.getTitle(themeDisplay.getLocale())}
52 </a>
53 <#else>
54 <span>${nextAncestor.getTitle(themeDisplay.getLocale())}</span>
55 </#if>
56 <span style="width: 1rem; height: 1rem; position: relative; top: 0.15em;" class="d-inline-flex mx-1">
57 <@sms_ui["smsicon"] iconName="next" isInline="true" cssClass="d-inline-flex site-type-color w-100" />
58 </span>
59 </#list>
60 <#list especialidadAncestors?reverse as nextAncestor>
61 <#if nextAncestor?is_first>
62 <#assign ID_LAYOUT_LANDING_ESPECIALIDADES = 201 />
63 <#assign layoutTiposEspecialidades = smsObjectInstancer
64 .getLayout(themeDisplay.getScopeGroupId(),
65 ID_LAYOUT_LANDING_ESPECIALIDADES,
66 false) />
67 <a href="${buildBackUrl(layoutTiposEspecialidades,nextAncestor.getCategoryId())}">
68 ${especialidadCat.getTitle(themeDisplay.getLocale())}
69 </a>
70 <#else>
71 <span>${especialidadCat.getTitle(themeDisplay.getLocale())}</span>
72 </#if>
73 </#list>
74 </p>
75
76<#if especialidadCat?has_content>
77 <#assign especialidadCatId=especialidadCat.getCategoryId()/>
78 <#assign cicloRootCats = smsObjectInstancer.getVocabularyRootCategories(ID_VOCABULARIO_CICLO)/>
79 <#assign catPrioCounter=50/>
80 <#assign catSorted=[]/>
81 <#list cicloRootCats?sort_by("title")?reverse as cat>
82 <#assign prop = smsObjectInstancer.getAssetCategoryProperty(cat.getCategoryId(), "prioridad")! />
83 <#assign categoryPrio = prop?has_content?then(prop.getValue()?number, catPrioCounter) />
84 <#assign catSorted= catSorted + [{"category": cat, "categoryPrio": categoryPrio}]/>
85 </#list>
86 <#list catSorted?sort_by("categoryPrio") as rootCat>
87 <#if rootCat.category.getDescription(themeDisplay.getLocale())?? && rootCat.category.getDescription(themeDisplay.getLocale()) != "">
88 <#assign categoryName = rootCat.category.getDescription(themeDisplay.getLocale())/>
89 <#else>
90 <#assign categoryName =rootCat.category.getTitle(themeDisplay.getLocale())/>
91 </#if>
92 <#assign entryChildCategories= smsObjectInstancer.getchildCategories(rootCat.category.getCategoryId())/>
93 <#list entryChildCategories as childCat>
94 <#assign subcategoryIds = [especialidadCat.getCategoryId(), childCat.getCategoryId()] />
95 <#assign entriesWithsubCategories = smsObjectInstancer.getAssetEntriesOfCategories("com.liferay.journal.model.JournalArticle", themeDisplay.getScopeGroupId(), subcategoryIds) />
96 <#if entriesWithsubCategories?size gt 0>
97 <#assign printSubtitle=true/>
98 </#if>
99 </#list>
100
101 <#if entryChildCategories?size ==0>
102 <#assign categoryIds = [especialidadCat.getCategoryId(), rootCat.category.getCategoryId()] />
103 <#assign entriesWithCategories = smsObjectInstancer.getAssetEntriesOfCategories("com.liferay.journal.model.JournalArticle", themeDisplay.getScopeGroupId(), categoryIds) />
104 <#if entriesWithCategories?size gt 0>
105 <#assign printTitle=true/>
106 <#assign categoryId = rootCat.category.getCategoryId() />
107 <#assign categoryUrl = buildFilterUrl(listaDocumentosLayout, especialidadCatId, categoryId) />
108 <ul class="mb-0 list-unstyled">
109 <li>
110 <a class="d-flex w-100 align-items-center" href="${categoryUrl}" title="Ver ${categoryName}">
111 <span class="mb-2">
112 <strong>${categoryName}</strong>
113 </span>
114 </a>
115 </li>
116 </ul>
117 <#assign printTitle=false/>
118 </#if>
119 <#else>
120 <ul class="mb-0 list-unstyled">
121 <li>
122 <#if printSubtitle>
123 <div class="rounded pb-3 mb-3 w-100">
124 <p class="font-weight-semibold border-none site-type-background-color text-white my-0 px-2">${categoryName}</p>
125 <#assign printSubtitle=false/>
126 </#if>
127 <#list entryChildCategories as childCat>
128 <#assign subcategoryIds = [especialidadCat.getCategoryId(), childCat.getCategoryId()] />
129 <#assign entriesWithsubCategories = smsObjectInstancer.getAssetEntriesOfCategories("com.liferay.journal.model.JournalArticle", themeDisplay.getScopeGroupId(), subcategoryIds) />
130 <#if entriesWithsubCategories?size gt 0>
131 <ul class="mb-0 list-unstyled" style="border-color: #d6d6d6 !important; border-top:none !important; border-bottom: 1px solid;">
132 <#assign subcategoryId = childCat.getCategoryId() />
133 <#assign subcategoryUrl = buildFilterUrl(listaDocumentosLayout,especialidadCatId, subcategoryId) />
134 <#if childCat.getDescription(themeDisplay.getLocale())?? && childCat.getDescription(themeDisplay.getLocale()) != "">
135 <#assign subcategoryName = childCat.getDescription(themeDisplay.getLocale())/>
136 <#else>
137 <#assign subcategoryName =childCat.getTitle(themeDisplay.getLocale())/>
138 </#if>
139 <li>
140 <a class="d-flex w-100 align-items-center" href="${subcategoryUrl}" title="Ver ${subcategoryName}">
141 <span>
142 ${subcategoryName}
143 </span>
144 </a>
145 </li>
146 </ul>
147 </#if>
148 </#list>
149 <#if printSubtitle>
150 </div>
151 </#if>
152 </li>
153 </ul>
154 </#if>
155 </#list>
156
157<#else>
158 <div class="overflow-auto portlet-msg-alert">No se han encontrado resultados</div>
159</#if>
INFORMACIÓN GENERAL
- - Gestiones y trámites
- - Bases Generales. Texto consolidado
- - Acuerdo Mesa Sectorial de Sanidad 12/07/2024 (modificación bases)
- - Acuerdo Mesa Sectorial de Sanidad 09/07/2025 (modificación bases)
- - Bases Generales
- - Preguntas frecuentes
- - Cuadro resumen
- - Manual
- - Tabla de equivalencias entre personal funcionario CARM y estatutario
- - Catálogo homogéneo de equivalencias de las categorías profesionales del personal estatutario del SNS