开发者

Inheritance and subflows with Spring WebFlow in grails

开发者 https://www.devze.com 2022-12-08 17:27 出处:网络
Spring WebFlow supports some advanced reuse features like flow inheritance and subflows. Using this features in SWF xml definitions is pretty easy, for example:

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

0

精彩评论

暂无评论...
验证码 换一张
取 消