webflow

Purpose

The webflow plug-in sets up Grails' support for Spring Webflow

Examples

An example web flow:

class BookController {
   …
   def shoppingCartFlow = {
       showCart {
           on("checkout").to "enterPersonalDetails"           
           on("continueShopping").to "displayCatalogue"
       }
       …
       displayCatalogue {
            redirect(controller:"catalogue", action:"show")
       }
       displayInvoice()
   }
}

Description

Refer to the section on Web Flow in the Grails user guide which details how Grails' web flow support works.

Configured Spring Beans: