Catalyst-Controller-FormBuilder
view release on metacpan or search on metacpan
lib/Catalyst/Controller/FormBuilder/Action.pm view on Meta::CPAN
125126127128129130131132133134135136137138139140141142143sub
execute {
my
$self
=
shift
;
my
(
$controller
,
$c
) =
@_
;
return
$self
->maybe::
next
::method(
@_
)
unless
exists
$self
->attributes->{ActionClass}
&&
$self
->attributes->{ActionClass}[0] eq
$controller
->_fb_setup->{action};
my
$form
=
$self
->_setup_form(
@_
);
Scalar::Util::weaken(
$form
->{c});
$controller
->_formbuilder(
$form
);
$self
->maybe::
next
::method(
@_
);
$controller
->_formbuilder(
$form
);
# keep the same form in case of forwards
$self
->setup_template_vars(
@_
);
}
1;
( run in 0.253 second using v1.01-cache-2.11-cpan-e5176c747c2 )