Author: hoang_to
Date: 2010-02-08 02:25:14 -0500 (Mon, 08 Feb 2010)
New Revision: 1546
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/workspace/UIPortalApplication.java
Log:
GTNPORTAL-588: Don't change language in group navigation after signing out/in
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/workspace/UIPortalApplication.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/workspace/UIPortalApplication.java 2010-02-08
05:28:14 UTC (rev 1545)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/workspace/UIPortalApplication.java 2010-02-08
07:25:14 UTC (rev 1546)
@@ -138,10 +138,6 @@
userPortalConfig_ =
(UserPortalConfig)context.getAttribute(UserPortalConfig.class);
if (userPortalConfig_ == null)
throw new Exception("Can't load user portal config");
-
- //TODO: Check if we need to clone page node
- this.all_Navigations = userPortalConfig_.getNavigations();
- localizeNavigations();
// dang.tung - set portal language by user preference -> browser ->
// default
@@ -189,6 +185,10 @@
if (currentSkin != null && currentSkin.trim().length() > 0)
skin_ = currentSkin;
setOwner(context.getPortalOwner());
+
+ //Minh Hoang TO: Localizes navigations, need to put this code snippet below
'setLocale' block
+ this.all_Navigations = userPortalConfig_.getNavigations();
+ localizeNavigations();
}
public void setShowedUIPortal(UIPortal uiPortal)