[Catalyst] New Root Controller in Catalyst 5.66
Chisel Wright
chisel at herlpacker.co.uk
Mon May 1 18:09:02 CEST 2006
On Mon, May 01, 2006 at 07:58:59AM -0700, Len Jaffe wrote:
> As expected. Don't define your own private end, and
> the default end will run in the plugin.
Or if you really need bits of both worlds:
sub end : Private {
my ($self, $c) = @_;
# some stuff
# use DefaultEnd magic
$self->NEXT::end( $c );
# some stuff
# (re)populate the form
$c->fillform( $c->stash->{formdata} );
}
--
Chisel Wright
e: chisel at herlpacker.co.uk
w: http://www.herlpacker.co.uk/
This is not an automated signature. I type this in to the bottom of every
message.
More information about the Catalyst
mailing list