-
May 1st, 2006, 06:59 AM
#1
SimpleFormController or AbstractFormController
Hi,
In my application I have a login screen when user fills and is authenticated he goes to 1) If temp password is set change password screen where he is requested to change password after that he goes to success view
2) if temp password is not set he goes to sucessview
Can the chanepassword screen be indepently used
I tried using LoginFormController extends Simpleformcontroller
if(user.getTemp_password().equals("")){
setSucessView("changePassword")
return modelandview(getSuccessView(),"user",user)
}
else {
setSuccessView("succes");
return modelandview(getSuccessview(),"user",user)
}
I got the view corectly but
when temp_password ="" occured and i entered data in screen in submitted
Instead of calling changePasswordValidator It called loginValidator
What should i do so that it calles chanepasswordValidator
or
is using AbstractWizardController only way out
is there a sample code available for abstractFormcontroller
Thanks
-
May 2nd, 2006, 04:30 AM
#2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules