UIMaskWorkspace uiMaskWorkspace = uiApp.getChildById(UIPortalApplication.UI_MASK_WS_ID);
if (isNew) {
user_.setPassword(newpassword);
orgService.getUserHandler().saveUser(user_, true);
uiMaskWorkspace.createEvent("Close", Phase.DECODE, request).broadcast();
uiApp.addMessage(new ApplicationMessage("UIResetPassword.msg.change-password-successfully", null));
}
request.addUIComponentToUpdateByAjax(uiMaskWorkspace);
}
}
}