Author: mputz
Date: 2013-03-15 10:33:18 -0400 (Fri, 15 Mar 2013)
New Revision: 9201
Modified:
epp/portal/branches/EPP_5_2_2_GA_BZ893565/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIGroupMembershipForm.java
Log:
Bug 921181: One off patch to fix issue in Group Management Portlet if custom username
validation is used
Modified:
epp/portal/branches/EPP_5_2_2_GA_BZ893565/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIGroupMembershipForm.java
===================================================================
---
epp/portal/branches/EPP_5_2_2_GA_BZ893565/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIGroupMembershipForm.java 2013-03-13
05:07:50 UTC (rev 9200)
+++
epp/portal/branches/EPP_5_2_2_GA_BZ893565/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIGroupMembershipForm.java 2013-03-15
14:33:18 UTC (rev 9201)
@@ -41,7 +41,7 @@
import org.exoplatform.webui.form.UIForm;
import org.exoplatform.webui.form.UIFormSelectBox;
import org.exoplatform.webui.form.UIFormStringInput;
-import org.exoplatform.webui.form.validator.UserConfigurableValidator;
+import org.exoplatform.webui.form.validator.MandatoryValidator;
import org.exoplatform.webui.organization.account.UIUserSelector;
import java.util.ArrayList;
@@ -75,7 +75,7 @@
public UIGroupMembershipForm() throws Exception
{
- addUIFormInput(new UIFormStringInput(USER_NAME, USER_NAME,
null).addValidator(UserConfigurableValidator.class,
UserConfigurableValidator.GROUPMEMBERSHIP,
UserConfigurableValidator.GROUP_MEMBERSHIP_LOCALIZATION_KEY));
+ addUIFormInput(new UIFormStringInput(USER_NAME, USER_NAME,
null).addValidator(MandatoryValidator.class));
addUIFormInput(new UIFormSelectBox("membership", "membership",
listOption).setSize(1));
UIPopupWindow searchUserPopup = addChild(UIPopupWindow.class,
"SearchUser", "SearchUser");
searchUserPopup.setWindowSize(640, 0);
Show replies by date