leetgeezer
May 23rd, 2007, 12:59 PM
I need a pattern for the following situation:
- On the first page, user enters some data
- The form is validated
- On the second page the user is presented with a verification page. All the data he enters are repeated, and the user can confirm his choice or go back.
- If confirmed and all went well, the user is presented with success page.
Is it better to implement it using AbstractWizardFormController with the veriufication page as the second page, or maybe use SimpleFormController? In the latter case how to how to ensure that correct (verification / success) view is displayed?
- On the first page, user enters some data
- The form is validated
- On the second page the user is presented with a verification page. All the data he enters are repeated, and the user can confirm his choice or go back.
- If confirmed and all went well, the user is presented with success page.
Is it better to implement it using AbstractWizardFormController with the veriufication page as the second page, or maybe use SimpleFormController? In the latter case how to how to ensure that correct (verification / success) view is displayed?