Results 1 to 2 of 2

Thread: How to return to wizard in AbstractWizardFormController

  1. #1
    Join Date
    Sep 2007
    Posts
    1

    Default How to return to wizard in AbstractWizardFormController

    Hello.
    I've got a wizard form made with AbstractWizardFormController. Wizard has 5 pages. For example in page 3 I have to go to other controller (CancellableFormController) and then.. after submit return to page 3 of wizard form.

    Is it possible ? And if it is.. how can I do this ?


    Best Regards
    Michal

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney
    Posts
    503

    Default

    Your best bet is to just use Spring Webflow. It supercedes pretty much all the form controller subclasses in Spring MVC.

    It doesn't take much effort to port Spring MVC stuff into Webflow, and webflow romps all over MVC for my 2c.

    Migrating...

    - Controller => FormAction

    - Command => Command, but Spring Webflow commands contain less clutter since fields used to drive the UI are typically stored in flowscope rather than a Spring MVC command. In this way, a command object under Spring Webflow begins to resemble something closer to how the GOF described the Command pattern, which is interesting.

    Your views are pretty much the same, with the exception being that you need to post a ${flowExecutionKey} each time as a hidden field.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •