* UserACL userACL = uicomp.getApplicationComponent(UserACL.class); if
* (!userACL.hasEditPermission(edittedNavigation)) { uiApplication.addMessage(new
* ApplicationMessage("UISiteManagement.msg.Invalid-editPermission", null));; return; }
*/
UIPopupWindow popUp = uicomp.getChild(UIPopupWindow.class);
UINavigationManagement naviManager = popUp.createUIComponent(UINavigationManagement.class, null, null, popUp);
uicomp.naviManager = naviManager;
naviManager.setSiteKey(SiteKey.portal(portalName));
UserPortal userPortal = userPortalConfig.getUserPortal();
UserNavigation edittedNavigation = userPortal.getNavigation(SiteKey.portal(portalName));
UINavigationNodeSelector selector = naviManager.getChild(UINavigationNodeSelector.class);
selector.setScope(uicomp.getScope());
selector.setEdittedNavigation(edittedNavigation);
selector.setUserPortal(userPortal);
selector.initTreeData();
popUp.setUIComponent(naviManager);
popUp.setShowMask(true);
popUp.setShow(true);
popUp.setWindowSize(400, 400);
}