Announcement Announcement Module
Collapse
No announcement yet.
Calling flow from controller Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Calling flow from controller

    Hi,

    Is it possible to call a spring webflow flow from a controller ?

    I have something like this :

    Code:
    @RequestMapping(value = "/mycontroller", method = RequestMethod.POST)
    public String mycontrol() {
        return "redirect:/myflow.htm?param=" + param;
    }
    Then the flow checks if the parameter is provided and does some actions.

    And was wondering if there's a more elegant way to do this, a bit like calling a subflow from a flow, but from the controller.
Working...
X