Sprang
Apr 27th, 2006, 06:46 AM
Hi,
I have to do what should be a pretty simple thing. However, as I am new to Spring mvc, I am pretty confused as to what is the correct approach to use.
My goal is to have a 4 step form, where by the user would go through either each step (1,2,3 & 4) or just 1, 3 & 4 - so effectively missing out step 2.
I thought about using AbstractWizardController but my limited understanding is that this should be used for a fixed stage wizard - However, maybe I could get round this by overriding getTargetPage...
A second approach would be having a MultiActionController with a method to representing each of the steps. With the exception of the final step (thank you page) each will have a form, so I am not sure if this is possible.
I then thought about using SWF, which has got much praise from this board but am not sure if it is truly needed.
I am sure there are some people out there who have done the above. If you're one of those guys/girls, please let me know how you reach achieved your goal.
Thanks very much :confused:
I have to do what should be a pretty simple thing. However, as I am new to Spring mvc, I am pretty confused as to what is the correct approach to use.
My goal is to have a 4 step form, where by the user would go through either each step (1,2,3 & 4) or just 1, 3 & 4 - so effectively missing out step 2.
I thought about using AbstractWizardController but my limited understanding is that this should be used for a fixed stage wizard - However, maybe I could get round this by overriding getTargetPage...
A second approach would be having a MultiActionController with a method to representing each of the steps. With the exception of the final step (thank you page) each will have a form, so I am not sure if this is possible.
I then thought about using SWF, which has got much praise from this board but am not sure if it is truly needed.
I am sure there are some people out there who have done the above. If you're one of those guys/girls, please let me know how you reach achieved your goal.
Thanks very much :confused: