Espainiari dagokion Kantauri Ekialdeko Mugape Hidrografikoaren Plan Hidrologikoa Estatuaren eskumenen esparruan
Espainiari dagokion Kantauri Ekialdeko Mugape Hidrografikoaren Plan Hidrologikoa Estatuaren eskumenen esparruan
Errorea gertatu da txantiloia prozesatzerakoan.
The following has evaluated to null or missing:
==> eb.getAttribute("esdirecto") [in template "35174" at line 37, column 22]
----
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: #if eb.getAttribute("esdirecto") [in template "35174" in macro "buildNavigation" at line 37, column 17]
- Reached through: @buildNavigation branchNavItems=branc... [in template "20116#20152#35132" at line 22, column 35]
----
1<#include "${templatesPath}/35174" />
2<#if !entries?has_content>
3 <#if preview>
4 <div class="alert alert-info">
5 <@liferay.language key="there-are-no-pages-to-display-for-the-current-page-level" />
6 </div>
7 </#if>
8<#else>
9 <#assign includeAllChildNavItems = true />
10
11 <#if includedLayouts == "all">
12 <#assign includeAllChildNavItems = true />
13 </#if>
14
15 <nav class="chc-subnavigation" role="navigation">
16 <div class="row">
17 <div class="mobile-sub-nav-item" aria-label="Expandir/Replegar" aria-haspopup="true" aria-expanded="false" tabindex="0" role="button">
18 <span>Submenu</span>
19 <i class="chc-icon chc-icon-submenu"></i>
20 </div>
21 <div aria-label="<@liferay.language key="site-pages" />" class="list-menu">
22 <@buildNavigation
23 branchNavItems=branchNavItems
24 cssClass="layouts"
25 displayDepth=displayDepth
26 includeAllChildNavItems=includeAllChildNavItems
27 navItemLevel=1
28 navItems=entries
29 />
30 </div>
31 </div>
32 </nav>
33</#if>
34<script>
35 function activarBoton(t){
36 var estado=$(t).parent().siblings("ul").css("display");
37 if(estado=="block"){
38 $(t).parent().parent('li').removeClass('open');
39 $(t).parent().siblings("ul").removeClass('open');
40 $(t).parent().siblings("ul").slideUp();
41 $(t).parent().siblings("ul").attr("aria-hidden","true");
42 $(t).attr("aria-expanded","false");
43 $(t).children('span').removeClass("chc-icon-chevron-up");
44 $(t).children('span').addClass("chc-icon-chevron-down");
45 }
46 else{
47 $(t).parent().parent('li').addClass('open');
48 $(t).parent().siblings("ul").addClass('open');
49 $(t).parent().siblings("ul").slideDown();
50 $(t).parent().siblings("ul").attr("aria-hidden","false");
51 $(t).attr("aria-expanded","true");
52 $(t).children('span').removeClass("chc-icon-chevron-down");
53 $(t).children('span').addClass("chc-icon-chevron-up");
54 }
55 }
56
57 $('.mobile-sub-nav-item').on('click', function(){
58 var estado=$(this).siblings('.list-menu').css('display');
59 if(estado=="block"){
60 $(this).siblings('.list-menu').removeClass('open');
61 $(this).siblings('.list-menu').slideUp();
62 $(this).attr("aria-expanded","false");
63 }else{
64 $(this).siblings('.list-menu').addClass('open');
65 $(this).siblings('.list-menu').slideDown();
66 $(this).attr("aria-expanded","true");
67 }
68 });
69
70
71 $('.exp-btn').on('click', function(){
72 activarBoton(this);
73 });
74</script>