Java method "com.liferay.portal.kernel.theme.NavItem.hasBrowsableChildren()" threw an exception when invoked on com.liferay.portal.kernel.theme.NavItem object "com.liferay.portal.kernel.theme.NavItem@6bdce2"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #if childNavigationItem.hasBrowsableC... [in template "10132#10165#21331309" in macro "buildChildrenNavItemsSlideCorporate" at line 76, column 13] - Reached through: @buildChildrenNavItemsSlideCorporate ... [in template "10132#10165#21331309" at line 37, column 21] ----
1<#include "${templatesPath}/NAVIGATION-MACRO-FTL" />
2
3<#assign navItems = entries />
4<#list navItems as navItem>
5 <#assign showChildrenNavItems = (displayDepth != 1) && navItem.hasBrowsableChildren() />
6 <#if navItem.isBrowsable() || showChildrenNavItems>
7 <#assign
8 nav_item_attr_has_popup = ""
9 nav_item_caret = ""
10 nav_item_css_class = ""
11 nav_item_href_link = ""
12 nav_item_link_css_class = ""
13 />
14 <#if navItem.isBrowsable()>
15 <#assign nav_item_href_link = "href='${navItem.getURL()}'" />
16 </#if>
17
18
19
20 <#if navItem.isChildSelected() || navItem.isSelected()>
21 <#assign
22 nav_item_css_class = "${nav_item_css_class} selected active"
23 />
24 </#if>
25
26
27
28 <li>
29 <a aria-labelledby="layout_${portletDisplay.getId()}_${navItem.getLayoutId()}" ${nav_item_attr_has_popup} class="${nav_item_link_css_class}" ${nav_item_href_link} ${navItem.getTarget()} role="menuitem">
30 <@liferay_theme["layout-icon"] layout=navItem.getLayout() /> <strong>${navItem.getName()}</strong>
31 </a>
32
33
34
35 <#if showChildrenNavItems>
36 <ul style="position:fixed">
37 <@buildChildrenNavItemsSlideCorporate
38 displayDepth=displayDepth
39 navItem=navItem
40 />
41 </ul>
42 </#if>
43 </li>
44 </#if>
45</#list>
46
47<#macro buildChildrenNavItemsSlideCorporate
48 displayDepth
49 navItem
50 navItemLevel = 2
51>
52 <#assign
53 portletDisplay = themeDisplay.getPortletDisplay()
54 />
55
56
57
58 <#list navItem.getChildren() as childNavigationItem>
59 <#assign
60 nav_child_css_class = ""
61 />
62
63
64
65 <#if childNavigationItem.isChildSelected() || childNavigationItem.isSelected()>
66 <#assign
67 nav_child_css_class = ""
68 />
69 </#if>
70
71
72
73 <li>
74 <a aria-labelledby="layout_${portletDisplay.getId()}_${childNavigationItem.getLayoutId()}" href="${childNavigationItem.getURL()}" ${childNavigationItem.getTarget()}>${childNavigationItem.getName()}</a>
75
76 <#if childNavigationItem.hasBrowsableChildren() && ((displayDepth == 0) || (navItemLevel < displayDepth))>
77 <ul>
78 <@buildChildrenNavItemsSlideCorporate
79 displayDepth=displayDepth
80 navItem=childNavigationItem
81 navItemLevel=(navItemLevel + 1)
82 />
83 </ul>
84 </#if>
85 </li>
86 </#list>
87</#macro>
If you are already registered, insert your user name (e-mail) and password to enter.
If you are not a registered user, go to "Create Account".
We use cookies to operate the website (technical cookies), to carry out statistics on the operation of the website (analytical cookies), to understand what content you are interested in and to send you commercial messages in line with your preferences (profiling cookies).
By clicking on "ACCEPT NECESSARY COOKIES" or on the "X" to close this banner, only cookies that are functional for browsing the website will be installed on your device.
By clicking on "ACCEPT ALL COOKIES" you will give your consent to install all cookies including the profiling ones.
You can select your preferences for individual cookies by clicking on "MANAGE YOUR COOKIES".
See our Cookie Policy for more information.