uiForm.invokeSetBindingBean(uiPortal);
// uiPortal.refreshNavigation(localeConfigService.getLocaleConfig(uiPortal.getLocale()).getLocale()) ;
if (uiPortalApp.getModeState() == UIPortalApplication.NORMAL_MODE) {
PortalConfig portalConfig = (PortalConfig) PortalDataMapper.buildModelObject(uiPortal);
dataService.save(portalConfig);
UserPortalConfigService service = uiForm.getApplicationComponent(UserPortalConfigService.class);
if (prContext.getPortalOwner().equals(uiForm.getPortalOwner())) {
prContext.setUserPortalConfig(service.getUserPortalConfig(uiForm.getPortalOwner(),
prContext.getRemoteUser(), PortalRequestContext.USER_PORTAL_CONTEXT));
uiPortalApp.reloadPortalProperties();