Egg::Plugin::FillInForm - HTML::FillInForm for Egg.


Egg-Release documentation  | view source Contained in the Egg-Release distribution.

Index


NAME

Top

Egg::Plugin::FillInForm - HTML::FillInForm for Egg.

SYNOPSIS

Top

  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

Top

HTML::FillInForm It is a plugin to use.

METHODS

Top

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

Top

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

AUTHOR

Top

Masatoshi Mizuno <lushe&64;cpan.org>

COPYRIGHT AND LICENSE

Top


Egg-Release documentation  | view source Contained in the Egg-Release distribution.