This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
No announcement yet.
How to return to form view when form is in multiple views?Page Title Module
AbstractWizardFormController is designed to handle this.
It probably should be called AbstractMultiViewFormController since while it does contain the concept of Finish and Cancel, it also does *not* force you to make your view look like a wizard.
e.g. you could make your view look like tabbed pages, or use other buttons to move between the different views.
You use name="_target0", "_target1", "target2" (for pages 1,2,3, ...) in form input fields to tell the controller which view to show, and configure the view names in the spring config file via the "pages" property.
Probably easiest to just read the source code for it but sounds like what you want.