Results 1 to 2 of 2

Thread: Support for double submit handling?

  1. #1
    Join Date
    Aug 2004
    Posts
    8

    Default Support for double submit handling?

    AbstractFormController handles the "double submit" problem (in handleRequestInternal) if you are using a "sessionForm" (or an AbstractWizardFormController). Is there similar support in Spring Web Flow with the FormAction?

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    If a submit triggers a end state to enter when not using continuations, there is no possibility of duplicate submit -- the executing flow will be cleaned up and no longer accessible. So that's a built in feature there.

    Now if that isn't the case or you're using continuations, other strategies must be used. The TransactionSynchronizer interface is there to allow you to demarcate application transactions. Right now there is one implementation: a token-based mechanism. See the 'itemList' sample that uses it.

    Keith
    Keith Donald
    Core Spring Development Team

Similar Threads

  1. Handling multiple submit button
    By anieshuk in forum Web
    Replies: 15
    Last Post: Mar 28th, 2011, 02:04 AM
  2. Announcement: Spring IDE WebFlow Support Preview Release 2
    By Christian Dupuis in forum Announcements
    Replies: 2
    Last Post: Sep 15th, 2006, 11:50 AM
  3. Replies: 5
    Last Post: Mar 19th, 2006, 09:24 AM
  4. Replies: 2
    Last Post: Sep 7th, 2005, 07:10 AM
  5. New Spring Support Forums are Live
    By Colin Sampaleanu in forum Announcements
    Replies: 17
    Last Post: May 22nd, 2005, 12:57 AM

Posting Permissions

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