Author: hoang_to
Date: 2009-11-23 05:33:28 -0500 (Mon, 23 Nov 2009)
New Revision: 759
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/account/webui/component/UIRegisterForm.java
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/RegisterPortlet_en.properties
Log:
GTNPORTAL-244: Add 'successfully registered' message and update relevant resource
bundles
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/account/webui/component/UIRegisterForm.java
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/account/webui/component/UIRegisterForm.java 2009-11-23
10:19:24 UTC (rev 758)
+++
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/account/webui/component/UIRegisterForm.java 2009-11-23
10:33:28 UTC (rev 759)
@@ -90,6 +90,8 @@
if(registerInput.save(userHandler, context)){
//TODO: Send email and add Account Activating feature
+ UIApplication uiApp = context.getUIApplication();
+ uiApp.addMessage(new
ApplicationMessage("UIRegisterForm.registerWithSuccess.message", null));
}
}
}
Modified:
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/RegisterPortlet_en.properties
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/RegisterPortlet_en.properties 2009-11-23
10:19:24 UTC (rev 758)
+++
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/RegisterPortlet_en.properties 2009-11-23
10:33:28 UTC (rev 759)
@@ -17,4 +17,5 @@
# 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
#
-UIRegisterForm.title=Register New Account
\ No newline at end of file
+UIRegisterForm.registerWithSuccess.message=You have successfully registered a new
account!
+UIRegisterForm.title=Register New Account