NAME
Egg::Plugin::FillInForm - HTML::FillInForm for Egg.
SYNOPSIS
use Egg qw/ FillInForm /;
__PACKAGE__->egg_startup(
plugin_fillinform => {
fill_password => 0,
ignore_fields => [qw{ param1 param2 }],
...
},
);
$e->fillin_ok(1);
my $output= $e->fillform_render(\$html, $hash);
$e->fillform;
DESCRIPTION
HTML::FillInForm It is a plugin to use.
METHODS
fillform_render ([HTML_TEXT], [HASH])
It is HTML::FillInForm as for the argument. Is passed and the result is returned.
When HTML_TEXT is omitted, $e->response->body is used.
When HASH is omitted, $e->request->params is used.
my $output= $e->fillform_render(\$html, $hash);
fillform ([HTML_TAXT], [HASH])
The result of 'fillform_render' is set in $e->response->body.
$e->fillform_render(\$html, $hash);
fillin_ok ( [BOOL] )
Fillform comes to be done by '_finalize' when keeping effective.
When the check error of this plugin occurs when Egg::Plugin::FormValidator::Simple is loaded, fillform is always done.
$e->fillin_ok(1);
SEE ALSO
Egg::Release, HTML::FillInForm, Egg::Plugin::FormValidator::Simple, Catalyst::Plugin::FillInForm,
AUTHOR
Masatoshi Mizuno <lushe@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2008 Bee Flag, Corp. <http://egg.bomcity.com/>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.