Author: thanh_tung_do
Date: 2010-05-05 07:57:07 -0400 (Wed, 05 May 2010)
New Revision: 2983
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java
Log:
GTNPORTAL-1096: resolve done
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java 2010-05-05
11:41:29 UTC (rev 2982)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java 2010-05-05
11:57:07 UTC (rev 2983)
@@ -71,6 +71,7 @@
import
org.exoplatform.webui.organization.UIListPermissionSelector.EmptyIteratorValidator;
import java.util.ArrayList;
+import java.util.Collections;
import java.util.List;
@ComponentConfigs({
@@ -148,6 +149,7 @@
List<String> groups =
configService.getMakableNavigations(pcontext.getRemoteUser(), true);
if (groups.size() > 0)
{
+ Collections.sort(groups);
ownerTypes.add(new SelectItemOption<String>(PortalConfig.GROUP_TYPE));
List<SelectItemOption<String>> groupsItem = new
ArrayList<SelectItemOption<String>>();
for (String group : groups)