Author: haint
Date: 2011-10-25 06:11:37 -0400 (Tue, 25 Oct 2011)
New Revision: 7862
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UIPageNodeSelector.java
Log:
GTNPORTAL-2220 Not locale in UIPageNodeSelector when change user language in user profile
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UIPageNodeSelector.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UIPageNodeSelector.java 2011-10-25
09:59:10 UTC (rev 7861)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UIPageNodeSelector.java 2011-10-25
10:11:37 UTC (rev 7862)
@@ -109,6 +109,7 @@
return null;
}
+
NodeChangeQueue<UserNode> queue = new NodeChangeQueue<UserNode>();
userPortal.updateNode(node, Scope.GRANDCHILDREN, queue);
for (NodeChange<UserNode> change : queue)
@@ -122,7 +123,9 @@
}
}
}
- return node;
+
+ UserNavigation nav = userPortal.getNavigation(node.getNavigation().getKey());
+ return userPortal.resolvePath(nav, null, node.getURI());
}
public void setSelectedURI(String uri) throws Exception
Show replies by date