Announcement Announcement Module
Collapse
No announcement yet.
Accessing a SimpleFormController from a webflow Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.

    Comment


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

      Regards,

      Kiran

      Comment

      Working...
      X