Author: tuancn
Date: 2010-01-30 01:38:18 -0500 (Sat, 30 Jan 2010)
New Revision: 1472
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/login/UIForgetPassword.java
Log:
GTNPORTAL-528: Show message when can't send mail to user(update)
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/login/UIForgetPassword.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/login/UIForgetPassword.java 2010-01-30
06:26:52 UTC (rev 1471)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/login/UIForgetPassword.java 2010-01-30
06:38:18 UTC (rev 1472)
@@ -139,7 +139,7 @@
mailSrc.sendMessage("exoservice(a)gmail.com", email, "Remind
password and username", activeLink);
} catch(Exception e){
requestContext.getUIApplication().addMessage(
- new ApplicationMessage("Can't send mail to mail server.",
null, ApplicationMessage.ERROR));
+ new ApplicationMessage("UIForgetPassword.msg.send-mail-fail",
null));
requestContext.addUIComponentToUpdateByAjax(uilogin);
return;
}
Show replies by date