Examples of addUIComponentToUpdateByAjax()


Examples of org.exoplatform.webui.application.WebuiRequestContext.addUIComponentToUpdateByAjax()

         int targetedTabIndex = Integer.parseInt(context.getRequestParameter(TARGETED_TAB_PARAMETER));

         //If two nodes are permuted, then update the tab pane
         if (tabPane.permutePageNode(dragingTabIndex, targetedTabIndex))
         {
            context.addUIComponentToUpdateByAjax(tabPane);
         }
      }
   }
}
View Full Code Here

Examples of org.exoplatform.webui.application.WebuiRequestContext.addUIComponentToUpdateByAjax()

         if (appRegService.getApplicationCategory(selectedCate.getName()) == null)
         {
            uiOrganizer.reload();
            UIApplication uiApp = ctx.getUIApplication();
            uiApp.addMessage(new ApplicationMessage("category.msg.changeNotExist", null));
            ctx.addUIComponentToUpdateByAjax(uiOrganizer);
            return;
         }

         UIFormRadioBoxInput uiRadio = uiForm.getUIInput("application");
         String displayName = uiForm.getUIStringInput(FIELD_NAME).getValue();
View Full Code Here

Examples of org.exoplatform.webui.application.WebuiRequestContext.addUIComponentToUpdateByAjax()

         UIFormRadioBoxInput uiRadio = uiForm.getUIInput("application");
         String displayName = uiForm.getUIStringInput(FIELD_NAME).getValue();
         if (uiForm.getApplications().size() == 0)
         {
            ctx.getUIApplication().addMessage(new ApplicationMessage("UIAddApplicationForm.msg.appNotExists", null));
            ctx.addUIComponentToUpdateByAjax(uiOrganizer);
            return;
         }
         Application tmp = uiForm.getApplications().get(Integer.parseInt(uiRadio.getValue()));

         // check portet name is exist
View Full Code Here

Examples of org.exoplatform.webui.application.WebuiRequestContext.addUIComponentToUpdateByAjax()

         String name = ctx.getRequestParameter(OBJECTID);
         GadgetRegistryService service = uiManagement.getApplicationComponent(GadgetRegistryService.class);
         if (service.getGadget(name) == null)
         {
            uiManagement.reload();
            ctx.addUIComponentToUpdateByAjax(uiManagement);
            return;
         }
         UIGadgetEditor uiEditor = uiManagement.getChild(UIGadgetEditor.class);
         if (uiEditor != null)
         {
View Full Code Here

Examples of org.exoplatform.webui.application.WebuiRequestContext.addUIComponentToUpdateByAjax()

            uiManagement.getParent().findFirstComponentOfType(UIApplicationOrganizer.class);
         ApplicationCategory selectedCate = uiOrganizer.getSelectedCategory();
         uiOrganizer.reload();
         uiOrganizer.setSelectedCategory(selectedCate);

         ctx.addUIComponentToUpdateByAjax(uiManagement);
      }

      private void removeFromApplicationRegistry(String name) throws Exception
      {
         ApplicationRegistryService appRegService =
View Full Code Here

Examples of org.exoplatform.webui.application.WebuiRequestContext.addUIComponentToUpdateByAjax()

         if (uiGadget.isLossData())
         {
            UIPortalApplication uiApp = Util.getUIPortalApplication();
            uiApp.addMessage(new ApplicationMessage("UIDashboard.msg.ApplicationNotExisted", null));
            uiDashboardCont.removeUIGadget(uiGadget.getId());
            context.addUIComponentToUpdateByAjax(uiDashboard);
         }
         else
         {
            uiGadget.getProperties().setProperty("minimized", minimized);
         }
View Full Code Here

Examples of org.exoplatform.webui.application.WebuiRequestContext.addUIComponentToUpdateByAjax()

         else
         {
            uiGadget.getProperties().setProperty("minimized", minimized);
         }
         uiDashboardCont.save();
         context.addUIComponentToUpdateByAjax(uiGadget);
      }
   }

   public static class MaximizeGadgetActionListener extends EventListener<UIDashboard>
   {
View Full Code Here

Examples of org.exoplatform.webui.application.WebuiRequestContext.addUIComponentToUpdateByAjax()

            UIPortalApplication uiApp = Util.getUIPortalApplication();
            uiApp.addMessage(new ApplicationMessage("UIDashboard.msg.ApplicationNotExisted", null));
            if (uiGadget != null)
               uiDashboardCont.removeUIGadget(uiGadget.getId());
            uiDashboardCont.save();
            context.addUIComponentToUpdateByAjax(uiDashboard);
            return;
         }
        
         //TODO nguyenanhkien2a@gmail.com
         //We need to expand unminimized state of uiGadget to view all body of gadget, not just a title with no content
View Full Code Here

Examples of org.exoplatform.webui.application.WebuiRequestContext.addUIComponentToUpdateByAjax()

            uiPageSelector.setValue(id);
            // uiPageBrowser.feedDataWithQuery(null);

            UIForm uiForm = uiPageSelector.getAncestorOfType(UIForm.class);
            if (uiForm != null) {
                ctx.addUIComponentToUpdateByAjax(uiForm.getParent());
            } else {
                ctx.addUIComponentToUpdateByAjax(uiPageSelector.getParent());
            }
            UIFormPopupWindow uiPopup = uiPageSelector.getChild(UIFormPopupWindow.class);
            uiPopup.setUIComponent(null);
View Full Code Here

Examples of org.exoplatform.webui.application.WebuiRequestContext.addUIComponentToUpdateByAjax()

            UIForm uiForm = uiPageSelector.getAncestorOfType(UIForm.class);
            if (uiForm != null) {
                ctx.addUIComponentToUpdateByAjax(uiForm.getParent());
            } else {
                ctx.addUIComponentToUpdateByAjax(uiPageSelector.getParent());
            }
            UIFormPopupWindow uiPopup = uiPageSelector.getChild(UIFormPopupWindow.class);
            uiPopup.setUIComponent(null);
            uiPopup.setShow(false);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.