public void initPopupPermission(UIComponent uiSelector) throws Exception {
   UIPopupWindow uiPopup = getChildById(UIPermissionFormBase.POPUP_SELECT);
   if (uiPopup == null) {
     uiPopup = addChild(UIPopupWindow.class, null, UIPermissionFormBase.POPUP_SELECT);
     uiPopup.setWindowSize(560, 345);
     uiPopup.setShowMask(true);
   } else {
     uiPopup.setShowMask(true);
     uiPopup.setRendered(true);
   }
   uiPopup.setUIComponent(uiSelector);
   uiPopup.setShow(true);
   uiPopup.setResizable(true);
 }
 public void initPopup(UIComponent uiComponent, String popupId) throws Exception {
   removeChildById(popupId);
   UIPopupWindow uiPopup = addChild(UIPopupWindow.class, null, popupId);
   uiPopup.setShowMask(true);
   uiPopup.setWindowSize(600, 300);
   uiPopup.setUIComponent(uiComponent);
   uiPopup.setShow(true);
   uiPopup.setResizable(true);
 }
 public void initPopupPermission(UIComponent uiSelector) throws Exception {
   removeChildById(UIPermissionForm.POPUP_SELECT);
   UIPopupWindow uiPopup = addChild(UIPopupWindow.class, null, UIPermissionForm.POPUP_SELECT);
   uiPopup.setShowMask(true);
   uiPopup.setWindowSize(560, 300);
   uiPopup.setRendered(true);
   uiPopup.setUIComponent(uiSelector);
   uiPopup.setShow(true);
   uiPopup.setResizable(true);
 }
 private void initTaggingFormPopup(Node selectedTag) throws Exception {
   removeChildById("TagPopup");
   UIPopupWindow uiPopup = addChild(UIPopupWindow.class, null, "TagPopup");
   uiPopup.setShowMask(true);
   uiPopup.setWindowSize(600, 200);
   UITagForm uiForm = createUIComponent(UITagForm.class, null, null);
   uiForm.setTag(selectedTag);
   uiPopup.setUIComponent(uiForm);
   uiPopup.setRendered(true);
   uiPopup.setShow(true);
   uiPopup.setResizable(true);
 }
 public void initUserSelector() throws Exception {
   UIPopupWindow uiPopup = getChildById("PopupUserSelector");
   if (uiPopup == null) {
     uiPopup = addChild(UIPopupWindow.class, null, "PopupUserSelector");
   }
   uiPopup.setWindowSize(790, 400);
   UIUserContainer uiUserContainer = this.createUIComponent(UIUserContainer.class, null, null);
   uiPopup.setUIComponent(uiUserContainer);
   uiPopup.setShow(true);
   uiPopup.setShowMask(true);
   uiPopup.setResizable(true);
 }
 public void execute(Event<UIBreadcumbs> event) throws Exception {
   UIBreadcumbs uiBreadcumbs = event.getSource();
   UIGroupMemberSelector uiGroupMemberSelector = uiBreadcumbs.getParent();
   String objectId = event.getRequestContext().getRequestParameter(OBJECTID);
   uiBreadcumbs.setSelectPath(objectId);
   String selectGroupId = uiBreadcumbs.getSelectLocalPath().getId();
   uiGroupMemberSelector.changeGroup(selectGroupId);
   if (uiGroupMemberSelector.isUsePopup) {
     UIPopupWindow uiPopup = uiBreadcumbs.getAncestorOfType(UIPopupWindow.class);
     uiPopup.setShow(true);
     uiPopup.setShowMask(true);
   }
   event.getRequestContext().addUIComponentToUpdateByAjax(uiGroupMemberSelector);
 }