function forgotPassowordSubmit(){ var fg = { url: CONTEXT_PATH + "/" + CLIENT_NAME +"/forgotPassword.do?emailId=" + dijit.byId('userForgotEmail').getValue(), handleAs: 'json', handle: function(data){ if (data.message == 'success') { showMessageDialogBox("Email sent Successfully", "Your Password was retrieved and sent to your email id(userid) ", '{width:300,height:150}'); } else { showMessageDialogBox("Error while sending email", "Given User Id(Email Id) dosen't exists", '{width:300,height:150}'); } }, timeout: 5000 }; dojo.xhrGet(fg); dijit.byId('forgetpassword').hide(); } function gotoNewUserRegistration(){ document.location = CONTEXT_PATH + "/" + CLIENT_NAME + "/userRegistration.do?campaignId=&appType="; } function signInAsAGuestUser(){ document.location = CONTEXT_PATH + "/" + CLIENT_NAME + "/tcoHome.do?guest=true&calculatorId=&calculatorInstanceId=&campaignId=&appType=&page=home"; }