Amministrazione trasparente

Si è verificato un errore nell'elaborarazione del modello.
Java method "static com.liferay.portal.kernel.service.LayoutLocalServiceUtil.getLayout(long, boolean, long)" threw an exception; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign title = LayoutLocalServiceUti...  [in template "10155#10195#7306551" at line 14, column 13]
----
1<#assign LayoutLocalServiceUtil = staticUtil["com.liferay.portal.kernel.service.LayoutLocalServiceUtil"] /> 
2 
3<#assign currentUrl = "" /> 
4 
5<#if !themeDisplay.getLayoutSet().getVirtualHostnames()?has_content> 
6    <#assign currentUrl = "/web" + themeDisplay.getScopeGroup().getFriendlyURL() /> 
7</#if> 
8 
9<div aria-label="<@liferay.language key="site-pages" />" class="nav-menu nav-menu-style-arrows"> 
10         <#assign layoutId = themeDisplay.getLayout().getParentLayoutId() /> 
11        <#if layoutId == 0> 
12            <#assign title = themeDisplay.getLayout().getHTMLTitle(locale) /> 
13        <#else> 
14            <#assign title = LayoutLocalServiceUtil.getLayout(groupId, false, layoutId).getHTMLTitle(locale) /> 
15        </#if><h2> 
16			<a href="${currentUrl}">${title}</a> 
17		</h2> 
18	<#if !entries?has_content> 
19	<#if themeDisplay.isSignedIn()> 
20		<div class="alert alert-info"> 
21			<@liferay.language key="there-are-no-menu-items-to-display" /> 
22		</div> 
23	</#if> 
24    <#else> 
25    	<#assign includeAllChildNavItems = false /> 
26     
27    	<#if stringUtil.equals(includedLayouts, "all")> 
28    		<#assign includeAllChildNavItems = true /> 
29    	</#if> 
30    		<@buildNavigation 
31    			branchNavItems=branchNavItems 
32    			cssClass="layouts" 
33    			displayDepth=displayDepth 
34    			includeAllChildNavItems=includeAllChildNavItems 
35    			navItemLevel=1 
36    			navItems=entries 
37    		/> 
38		</#if> 
39	</div> 
40 
41 
42<#macro buildNavigation 
43	branchNavItems 
44	cssClass 
45	displayDepth 
46	includeAllChildNavItems 
47	navItemLevel 
48	navItems 
49
50	<#if navItems?has_content && ((displayDepth == 0) || (navItemLevel <= displayDepth))> 
51		<ul class="${cssClass} level-${navItemLevel}"> 
52			<#list navItems as navItem> 
53				<#assign 
54					nav_item_css_class = "lfr-nav-item" 
55				/> 
56 
57				<#if includeAllChildNavItems || navItem.isInNavigation(branchNavItems)> 
58					<#assign nav_item_css_class = "${nav_item_css_class} open" /> 
59				</#if> 
60 
61				<#if navItem.isSelected()> 
62					<#assign 
63						nav_item_css_class = "${nav_item_css_class} selected active" 
64					/> 
65				</#if> 
66 
67				<li class="${nav_item_css_class}"> 
68					<#if navItem.isBrowsable()> 
69						<a class="${nav_item_css_class}" href="${navItem.getRegularURL()!""}" ${navItem.getTarget()}>${navItem.getName()}</a> 
70					<#else> 
71						${navItem.getName()} 
72					</#if> 
73 
74					<#if includeAllChildNavItems || navItem.isInNavigation(branchNavItems)> 
75						<@buildNavigation 
76							branchNavItems=branchNavItems 
77							cssClass=cssClass 
78							displayDepth=displayDepth 
79							includeAllChildNavItems=includeAllChildNavItems 
80							navItemLevel=(navItemLevel + 1) 
81							navItems=navItem.getChildren() 
82						/> 
83					</#if> 
84				</li> 
85			</#list> 
86		</ul> 
87	</#if> 
88</#macro>