Some navigation refactoring
This commit is contained in:
parent
f09ab62d52
commit
7eed07da38
6 changed files with 48 additions and 33 deletions
|
|
@ -56,7 +56,7 @@ public class ServiceStatusPage implements WAPage {
|
|||
public ServiceStatusPage(PluginManager pluginManager){
|
||||
this.services = pluginManager.toArray(WAServiceStatus.class);
|
||||
|
||||
WANavigation nav = WANavigation.createRootNav(ServicePage.NAVIGATION_NAME)
|
||||
WANavigation nav = WAContext.getRootNav().createSubNav(ServicePage.NAVIGATION_NAME)
|
||||
.createSubNav(NAVIGATION_NAME);
|
||||
nav.setResource(this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue