[html-formfu] Include Catalyst::Controller::RequestToken in
C::C::HTML::FormFu
onken at houseofdesign.de
onken at houseofdesign.de
Fri Jan 16 08:26:19 GMT 2009
>
> Ok, that sounds cool.
>
> Carl
Hi Carl,
seems like MultiForm doesn't support "plugins":
Caught exception in TestApp::Controller::MultiFormToken->formconfig "Can't
locate object method "plugins" via package "HTML::FormFu::MultiForm" at
lib/Catalyst/Controller/HTML/FormFu.pm line 216."
So far I created a new Element::Token and Constraint::Token which is
attached to $form using Plugin::Token. Plugin::Token is set automatically
if $config->{token_enable} is set. Plugin::Token does nothing else than
attaching Element::Token to $form. The logic is in Element::Token and
Constraint::Token.
Do you think this is a sane approach?
cheers,
moritz
More information about the HTML-FormFu
mailing list