Inheritance and subflows with Spring WebFlow in grails
Spring WebFlow supports some advanced reuse features like flow inheritance and subflows. Using this features in SWF xml definitions is pretty easy, for example:
<flow parent="parent">
<subflow-state id="addGuest" subflow="cre开发者_高级运维ateGuest">
Can I use these features with weblflows in Grails? Can I define these using the SWF groovy dsl? How can I use Spring WebFlow definitions in grails?
Have a read of the Grails documentation: http://grails.org/doc/1.1.1/guide/6.%20The%20Web%20Layer.html#6.5%20Web%20Flow
Grails supports subflows via the DSL, I haven't tried inheritance.
cheers
Lee
精彩评论