Package org.exoplatform.portal.webui.navigation

Examples of org.exoplatform.portal.webui.navigation.UINavigationNodeSelector$SelectedNode


         UINavigationManagement pageManager = popUp.createUIComponent(UINavigationManagement.class, null, null, popUp);
         pageManager.setOwner(navigation.getOwnerId());
         pageManager.setOwnerType(navigation.getOwnerType());

         UINavigationNodeSelector selector = pageManager.getChild(UINavigationNodeSelector.class);
      
         selector.setEdittedNavigation(navigation);
         selector.initTreeData();
         popUp.setUIComponent(pageManager);
         popUp.setWindowSize(400, 400);
         popUp.setShowMask(true);
         popUp.setShow(true);
      }
View Full Code Here


         UIPopupWindow uiNavigationPopup = uiGroupNavigation.getChild(UIPopupWindow.class);
         UINavigationManagement navigationManager =
            uiPageNodeForm.createUIComponent(UINavigationManagement.class, null, null);
         navigationManager.setOwner(contextNavigation.getOwnerId());
         navigationManager.setOwnerType(contextNavigation.getOwnerType());
         UINavigationNodeSelector selector = navigationManager.getChild(UINavigationNodeSelector.class);
         selector.setEdittedNavigation(contextNavigation);
         selector.initTreeData();
        
         if (uiPageNodeForm.getSelectedParent() instanceof PageNode)
         {
            PageNode selectedParent = (PageNode)uiPageNodeForm.getSelectedParent();
            selector.selectPageNodeByUri(selectedParent.getUri());
         }
        
         uiNavigationPopup.setUIComponent(navigationManager);
         uiNavigationPopup.setWindowSize(400, 400);
         uiNavigationPopup.setRendered(true);
View Full Code Here

         UIPopupWindow popUp = uicomp.getChild(UIPopupWindow.class);
         UINavigationManagement naviManager = popUp.createUIComponent(UINavigationManagement.class, null, null, popUp);
         naviManager.setOwner(portalName);
         naviManager.setOwnerType(PortalConfig.PORTAL_TYPE);

         UINavigationNodeSelector selector = naviManager.getChild(UINavigationNodeSelector.class);
         selector.setEdittedNavigation(edittedNavigation);
         selector.initTreeData();

         popUp.setUIComponent(naviManager);
         popUp.setShowMask(true);
         popUp.setShow(true);
View Full Code Here

         UISiteManagement uiSiteManagement = uiPageNodeForm.getAncestorOfType(UISiteManagement.class);
         UIPopupWindow uiNavigationPopup = uiSiteManagement.getChild(UIPopupWindow.class);
         UINavigationManagement navigationManager = uiPageNodeForm.createUIComponent(UINavigationManagement.class, null, null);
         navigationManager.setOwner(contextNavigation.getOwnerId());
         navigationManager.setOwnerType(contextNavigation.getOwnerType());
         UINavigationNodeSelector selector = navigationManager.getChild(UINavigationNodeSelector.class);
        
         selector.setEdittedNavigation(uiPageNodeForm.getContextPageNavigation());
         selector.initTreeData();
        
         if (uiPageNodeForm.getSelectedParent() instanceof PageNode)
         {
            PageNode selectedParent = (PageNode)uiPageNodeForm.getSelectedParent();
            selector.selectPageNodeByUri(selectedParent.getUri());
         }
        
         uiNavigationPopup.setUIComponent(navigationManager);
         uiNavigationPopup.setWindowSize(400, 400);
         event.getRequestContext().addUIComponentToUpdateByAjax(uiNavigationPopup.getParent());
View Full Code Here

TOP

Related Classes of org.exoplatform.portal.webui.navigation.UINavigationNodeSelector$SelectedNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.