Does anyone know how to define static closure for web flow action so that action could be defined within another groovy class ?
for instance :
class GuessController {
def guessFlow = {
start {
action {
return ElseWhereActions.startAction(some params)
}
on("success").to("ask")
}
...
}
class ElseWhereActions {
def static startAction = { ... -> ...}
}
I will appreciate any help.


Reply With Quote
