Results 1 to 3 of 3

Thread: Accessing a SimpleFormController from a webflow

  1. #1
    Join Date
    Feb 2005
    Posts
    14

    Default Accessing a SimpleFormController from a webflow

    I have currently run into a situation where I would like to call a FormController from a flow. Is it possible to do this, and if so would you call the Controller's 'onSubmit' method from the Action's 'doExecuteAction' method or is there a simpler solution?

    I cannot just register my SimpleFormController as a webflow action bean because it doesn't extend AbstractAction.

    Thanks in advance.

    Kind Regards,

    Kiran

    USING:
    Spring 1.2.1
    Spring Webflow preview release 2

  2. #2
    Join Date
    Aug 2004
    Posts
    1,905

    Default Refactor

    Sounds like you need to refactor mate

    Why not move the code you need to call into a seperate POJO (or even an ActionBean) and have your controller call that.

  3. #3
    Join Date
    Feb 2005
    Posts
    14

    Default

    I don't think so. I have just found a solution ... Spring Webflow contains a FormAction to solve this exact problem.

    Regards,

    Kiran

Similar Threads

  1. SimpleFormController not do onSubmit
    By heleno_alves in forum Web
    Replies: 2
    Last Post: Oct 18th, 2005, 07:22 AM
  2. Replies: 4
    Last Post: Sep 29th, 2005, 07:13 AM
  3. Webflow does not use ContextLoaderPlugIn ?
    By Thomas Dudziak in forum Web Flow
    Replies: 1
    Last Post: Jun 30th, 2005, 05:29 PM
  4. Announcement: Spring IDE WebFlow Support Preview Release 1
    By Christian Dupuis in forum Announcements
    Replies: 0
    Last Post: May 20th, 2005, 08:15 PM
  5. Servlet & portlet packages (SimpleFormController)
    By mpetrashev in forum Architecture
    Replies: 0
    Last Post: Dec 2nd, 2004, 10:11 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
  •