[gatein-commits] gatein SVN: r1857 - portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Feb 25 02:38:37 EST 2010


Author: liem_nguyen
Date: 2010-02-25 02:38:37 -0500 (Thu, 25 Feb 2010)
New Revision: 1857

Modified:
   portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIUserInfo.java
Log:
GTNPORTAL-700 saving a profile will not return you to the main user management page

Modified: portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIUserInfo.java
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIUserInfo.java	2010-02-25 04:46:32 UTC (rev 1856)
+++ portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIUserInfo.java	2010-02-25 07:38:37 UTC (rev 1857)
@@ -141,6 +141,16 @@
                uiApp.findFirstComponentOfType(UIWorkingWorkspace.class));
             Util.getPortalRequestContext().setFullRender(true);
          }
+         
+         UIUserManagement userManagement = uiUserInfo.getParent();
+         UIListUsers listUser = userManagement.getChild(UIListUsers.class);
+         UIAccountEditInputSet accountInput = uiUserInfo.getChild(UIAccountEditInputSet.class);
+         UIUserProfileInputSet userProfile = uiUserInfo.getChild(UIUserProfileInputSet.class);
+         uiUserInfo.setRenderSibling(UIListUsers.class);
+         listUser.search(new Query());
+         accountInput.reset();
+         userProfile.reset();
+         event.getRequestContext().setProcessRender(true);
       }
    }
 



More information about the gatein-commits mailing list