Examples of localizeNavigations()


Examples of org.exoplatform.portal.webui.workspace.UIPortalApplication.localizeNavigations()

         // create navigation for group
         dataService.create(pageNav);

         uiPortalApp.getUserPortalConfig().getNavigations().add(0, pageNav);
         uiPortalApp.getNavigations().add(0, pageNav);
         uiPortalApp.localizeNavigations();
        
         //Update group navigation list
         ctx.addUIComponentToUpdateByAjax(uicomp);

         UIWorkingWorkspace uiWorkingWS = uiPortalApp.getChild(UIWorkingWorkspace.class);
View Full Code Here

Examples of org.exoplatform.portal.webui.workspace.UIPortalApplication.localizeNavigations()

         UIPortalApplication uiPortalApp = Util.getUIPortalApplication();
         setNavigation(uiPortalApp.getNavigations(), navigation);

         // Need to relocalize as it was loaded from storage
         uiPortalApp.localizeNavigations();
        
         //Update UIPortal corredponding to edited navigation
         UIPortal targetedUIPortal = uiPortalApp.getCachedUIPortal(editedOwnerType, editedOwnerId);
         if(targetedUIPortal != null)
         {
View Full Code Here

Examples of org.exoplatform.portal.webui.workspace.UIPortalApplication.localizeNavigations()

      {
         if (!portalAppLanguage.equals(userLanguage) && !portalAppLanguage.equals(browserLanguage))
         {
            uiPortalApp.setLocale(localeConfig.getLocale());
            //editPortal.refreshNavigation(localeConfig.getLocale());
            uiPortalApp.localizeNavigations();
         }
         uiPortalApp.setSkin(editPortal.getSkin());
      }
      prContext.refreshResourceBundle();
   }
View Full Code Here

Examples of org.exoplatform.portal.webui.workspace.UIPortalApplication.localizeNavigations()

         LocaleConfig localeConfig = localeConfigService.getLocaleConfig(language);
         if (localeConfig == null)
            localeConfig = localeConfigService.getDefaultLocaleConfig();
         uiApp.setLocale(localeConfig.getLocale());
         uiApp.setOrientation(localeConfig.getOrientation());
         uiApp.localizeNavigations();
         OrganizationService orgService = event.getSource().getApplicationComponent(OrganizationService.class);
         String remoteUser = event.getRequestContext().getRemoteUser();
         if (remoteUser != null)
         {
            UserProfile userProfile = orgService.getUserProfileHandler().findUserProfileByName(remoteUser);
View Full Code Here

Examples of org.exoplatform.portal.webui.workspace.UIPortalApplication.localizeNavigations()

            LocaleConfig localeConfig = localeConfigService.getLocaleConfig(language);
            if (localeConfig == null)
               localeConfig = localeConfigService.getDefaultLocaleConfig();
            uiApp.setLocale(localeConfig.getLocale());
            uiApp.setOrientation(localeConfig.getOrientation());
            uiApp.localizeNavigations();

            Util.getPortalRequestContext().addUIComponentToUpdateByAjax(
               uiApp.findFirstComponentOfType(UIWorkingWorkspace.class));
            Util.getPortalRequestContext().setFullRender(true);
         }
View Full Code Here

Examples of org.exoplatform.portal.webui.workspace.UIPortalApplication.localizeNavigations()

      {
         if (!portalAppLanguage.equals(userLanguage) && !portalAppLanguage.equals(browserLanguage))
         {
            uiPortalApp.setLocale(localeConfig.getLocale());
            //editPortal.refreshNavigation(localeConfig.getLocale());
            uiPortalApp.localizeNavigations();
         }
         uiPortalApp.setSkin(editPortal.getSkin());
      }
      prContext.refreshResourceBundle();
      SkinService skinService = getApplicationComponent(SkinService.class);
View Full Code Here

Examples of org.exoplatform.portal.webui.workspace.UIPortalApplication.localizeNavigations()

         LocaleConfig localeConfig = localeConfigService.getLocaleConfig(language);
         if (localeConfig == null)
            localeConfig = localeConfigService.getDefaultLocaleConfig();
         uiApp.setLocale(localeConfig.getLocale());
         uiApp.setOrientation(localeConfig.getOrientation());
         uiApp.localizeNavigations();
         OrganizationService orgService = event.getSource().getApplicationComponent(OrganizationService.class);
         String remoteUser = event.getRequestContext().getRemoteUser();
         if (remoteUser != null)
         {
            UserProfile userProfile = orgService.getUserProfileHandler().findUserProfileByName(remoteUser);
View Full Code Here

Examples of org.exoplatform.portal.webui.workspace.UIPortalApplication.localizeNavigations()

         UIPortalApplication uiPortalApp = Util.getUIPortalApplication();
         setNavigation(uiPortalApp.getNavigations(), navigation);

         // Need to relocalize as it was loaded from storage
         uiPortalApp.localizeNavigations();
        
         //Update UIPortal corredponding to edited navigation
         UIPortal targetedUIPortal = uiPortalApp.getCachedUIPortal(editedOwnerType, editedOwnerId);
         if(targetedUIPortal != null)
         {
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.