I need to 'override' a scaffolded action in a controller, do some stuff and then invoke the original. I would prefer to use the dynamically generated method and not have to cut and paste the code.
class AccountController {
static scaffold = Account
def list = {
// do something
// invoke "super.list" i.e. the dynamically generated scaffold
}
Any ideas?