summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-03-21 03:15:10 (EDT)
committer Manik Kishore2012-06-19 07:22:24 (EDT)
commit3bff7b191debc72aeba4dcec47fdec8f6a97d790 (patch)
treeb84da409caec70a818e6d15185c8c561396d33be
parentcd9a5122c76f38701d0db16c72a94752be3358f3 (diff)
downloadorg.eclipse.stardust.ui.web-3bff7b191debc72aeba4dcec47fdec8f6a97d790.zip
org.eclipse.stardust.ui.web-3bff7b191debc72aeba4dcec47fdec8f6a97d790.tar.gz
org.eclipse.stardust.ui.web-3bff7b191debc72aeba4dcec47fdec8f6a97d790.tar.bz2
Jira-ID: CRNT-24170
1)Added code to reset the account textbox on closePopup and apply () completion in ResetPasswordDialog.java git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@54710 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/login/dialogs/ResetPasswordDialog.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/login/dialogs/ResetPasswordDialog.java b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/login/dialogs/ResetPasswordDialog.java
index 907d40e..9725707 100644
--- a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/login/dialogs/ResetPasswordDialog.java
+++ b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/login/dialogs/ResetPasswordDialog.java
@@ -18,6 +18,7 @@ import org.eclipse.stardust.engine.core.runtime.beans.removethis.SecurityPropert
import org.eclipse.stardust.ui.web.common.log.LogManager;
import org.eclipse.stardust.ui.web.common.log.Logger;
import org.eclipse.stardust.ui.web.common.util.CollectionUtils;
+import org.eclipse.stardust.ui.web.common.util.FacesUtils;
import org.eclipse.stardust.ui.web.common.util.PopupDialog;
import org.eclipse.stardust.ui.web.common.util.StringUtils;
import org.eclipse.stardust.ui.web.viewscommon.beans.SessionContext;
@@ -148,15 +149,24 @@ public class ResetPasswordDialog extends PopupDialog
{
ExceptionHandler.handleException(FORM_ID + ":" + COMMON_MESSAGE_ID, e);
}
-
+ reset();
setVisible(!success); // This is required, otherwise Popup Dialog disappears
}
@Override
public void reset()
{
+ account = null;
+ FacesUtils.clearFacesTreeValues();
}
+ @Override
+ public void closePopup()
+ {
+ reset();
+ super.closePopup();
+ }
+
private Map<String, String> getLoginProperties()
{
LoginDialogBean loginDlg = LoginDialogBean.getInstance();