The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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 }],
      ...
      },
  
  );

  # When outputting it, HTML::FillInForm is processed.
  $e->fillin_ok(1);

DESCRIPTION

It is a plugin to use HTML::FillInForm.

The setting is defined in 'Plugin_fillinform' with HASH.

All set values extend to HTML::FillInForm.

Please refer to the document of HTML::FillInForm for details.

METHODS

fillin_ok ( [BOOL] )

$e->fillform is called immediately before the output of contents when an effective value is set.

* The call of $e->fillform becomes effective at the Validate error if "Egg::Plugin::FormValidator::Simple " is read at the same time.

  $e->fillin_ok(1);

fillform ( [CONTENT_REF], [PARAM_HASH] )

"HTML::FillInForm " is processed for CONTENT_REF.

CONTENT_REF is SCALAR always reference.

When PARAM_HASH is omitted, $e->request->params is used.

  $e->fillform( \$content, \%param );

SEE ALSO

HTML::FillInForm, Catalyst::Plugin::FillInForm, Egg::Plugin::FormValidator::Simple, Egg::Release,

AUTHOR

Masatoshi Mizuno <lushe@cpan.org>

COPYRIGHT

Copyright (C) 2007 by Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.

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.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 54:

L<> starts or ends with whitespace

Around line 78:

L<> starts or ends with whitespace