I’m looking at integrating a wizard in an existing Spring 3 MVC+JPA+Jquery+JSP application. I would prefer the wizard to be based on jquery modal overalays, however am open to considering other frameworks if necessary.
I looked at Spring Webflow – but am not able to figure out how to get it working with modal overlays. I did find one tutorial http://realworldagile.wordpress.com/2009/10/06/modal-wizard-forms-using-spring-webflow-2-0-8-and-richfaces/ but it is tied to RichFaces.
I am not able to figure out
- how to launch a wizard in an overlay
- how to transition from one overlay screen to another – as part of the state transitions.
- how to do server-side validations within the overlay
You may use subflows : http://static.springsource.org/spring-webflow/docs/2.3.x/reference/html/ch03s09.html
This way you can follow a secondary flow (the wizard part) before returning back to the current one. Kind of the same as a modal overlay from a functional perspective, but with all standard WebFlow mechanisms and features (e.g. server-side validation).