• Skip to Content
An error occurred while processing the template.
The following has evaluated to null or missing:
==> idiomaSelected  [in template "20095#20121#4524550" at line 28, column 27]

----
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: ${idiomasProp[idiomaSelected.getLocal...  [in template "20095#20121#4524550" at line 28, column 13]
----
1<#-- 
2Widget templates can be used to modify the look of a 
3specific application. 
4 
5Please use the left panel to quickly add commonly used variables. 
6Autocomplete is also available and can be invoked by typing "${". 
7--> 
8<#macro getIdiomas idiomas> 
9    <#assign otrosIdiomas = [] /> 
10    <#list idiomas as curIdioma> 
11		<#if curIdioma.isSelected()> 
12		    <#assign idiomaSelected = curIdioma /> 
13		<#else> 
14		    <#assign otrosIdiomas = otrosIdiomas + [curIdioma]> 
15		</#if> 
16	</#list> 
17</#macro> 
18 
19<#assign idiomasProp = { "gl_ES": "Galego", "es_ES": "Castellano", "en_US": "English" } /> 
20 
21 
22<#if entries?has_content> 
23     
24    <@getIdiomas idiomas=entries /> 
25     
26    <div class="dropdown"> 
27        <button class="dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false" title="<@liferay.language key="choose-a-language" />"> 
28            ${idiomasProp[idiomaSelected.getLocale()]} 
29            <@liferay_ui["icon"] iconCssClass="icon-angle-down" /> 
30        </button> 
31        <div class="dropdown-menu"> 
32            <#list otrosIdiomas as curLanguage> 
33                <a class="dropdown-item" href="${curLanguage.getURL()}"> 
34                    <@clay["icon"] symbol="${curLanguage.getLocale()?lower_case?replace('_','-')}" />&nbsp;&nbsp; 
35                    ${idiomasProp[curLanguage.getLocale()]} 
36                </a> 
37            </#list> 
38        </div> 
39    </div> 
40     
41</#if> 
Sign In
Go to deputacion-provincial-coruna Go to Concello Dixital - Deputación da Coruña
  • Conoce
    • Nuestra misión
    • Visión de la administración electrónica
    • Entidades adheridas
    • Proyecto
  • Aprende
    • Comienza por aquí
    • Preguntas frecuentes
Aprende
Go to deputacion-provincial-coruna Go to Concello Dixital - Deputación da Coruña
  • Contacto
  • Accesibilidad
  • Mapa web
  • Aviso legal