perl-Catalyst-Controller-FormBuilder-MultiForm-0.03-alt1.noarch.rpm


Advertisement

Description

perl-Catalyst-Controller-FormBuilder-MultiForm - Multiple forms per template with Catalyst::Controller::FormBuilder

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Catalyst-Controller-FormBuilder-MultiForm
Package version 0.03
Package release alt1
Package architecture noarch
Package type rpm
Installed size 45.55 KB
Download size 45.55 KB
Official Mirror ftp.altlinux.org
This module allows you to access multiple FormBuilder objects per template when
using Catalyst::Controller::FormBuilder (see the Catalyst::Controller::FormBuilder manpage
for more information).
By default, Catalyst::Controller::FormBuilder provides a set of variables in the
stash that you can use to access your form (default: `$c->stash->{FormBuilder}'
and `$c->stash->{formbuilder}').
If you forward to another `:Form' action, that action's FormBuilder object will
replace the FormBuilder object in your calling action.  This allows you to forward to
other actions for building form details yet keep your form handling in the calling action,
and is quite handy.
However, it prevents you from forwarding to other `:Form' actions for the purpose
of building multiple FormBuilder objects for use in a single page.
This module allows you to keep a copy of the FormBuilder object for each `:Form' action
you forward to in the stash, so that you can access multiple forms inside one template.
Each form is kept in a stash variable (default: `$c->{forms}') and can be accessed
by the name of the form (as set in your form configuration).
For example, if you named your form `foo_edit' in your form configuration,
you could access this form by name with the following stash variables:
$c->stash->{forms}->{foo_edit}->{FormBuilder}
$c->stash->{forms}->{foo_edit}->{formbuilder}
If you wish to use the default behavior, just use the regular FormBuilder stash values:
$c->stash->{FormBuilder}
$c->stash->{formbuilder}
Since you can use both behaviors, it is safe to use this module as your base controller
without having to modify your existing single form FormBuilder code and templates.  Just
don't access the form by name, and you won't get the multiform behavior.

Alternatives

Package Version Architecture Repository
perl-Catalyst-Controller-FormBuilder-MultiForm - - -

Requires

Name Value
/usr/share/perl5 -
perl(Catalyst/Controller/FormBuilder.pm) >= 0.060
perl(Catalyst/Controller/FormBuilder/Action/HTML/Template.pm) -
perl(Catalyst/Controller/FormBuilder/Action/Mason.pm) -
perl(Catalyst/Controller/FormBuilder/Action/TT.pm) -
perl(base.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Catalyst/Controller/FormBuilder/MultiForm.pm) = 0.030
perl(Catalyst/Controller/FormBuilder/MultiForm/Action/HTML/Template.pm) -
perl(Catalyst/Controller/FormBuilder/MultiForm/Action/Mason.pm) -
perl(Catalyst/Controller/FormBuilder/MultiForm/Action/TT.pm) -
perl-Catalyst-Controller-FormBuilder-MultiForm = 0.03-alt1

Download

Type URL
Binary Package perl-Catalyst-Controller-FormBuilder-MultiForm-0.03-alt1.noarch.rpm
Source Package perl-Catalyst-Controller-FormBuilder-MultiForm-0.03-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Catalyst-Controller-FormBuilder-MultiForm rpm package:
    # sudo apt-get install perl-Catalyst-Controller-FormBuilder-MultiForm

Files

Path
/usr/share/doc/perl-Catalyst-Controller-FormBuilder-MultiForm-0.03/Changes
/usr/share/doc/perl-Catalyst-Controller-FormBuilder-MultiForm-0.03/LICENSE
/usr/share/doc/perl-Catalyst-Controller-FormBuilder-MultiForm-0.03/README.pod
/usr/share/perl5/Catalyst/
/usr/share/perl5/Catalyst/Controller/
/usr/share/perl5/Catalyst/Controller/FormBuilder/MultiForm.pm
/usr/share/perl5/Catalyst/Controller/FormBuilder/README.pod
/usr/share/perl5/Catalyst/Controller/FormBuilder/MultiForm/
/usr/share/perl5/Catalyst/Controller/FormBuilder/MultiForm/Action/Mason.pm
/usr/share/perl5/Catalyst/Controller/FormBuilder/MultiForm/Action/TT.pm
/usr/share/perl5/Catalyst/Controller/FormBuilder/MultiForm/Action/HTML/Template.pm

See Also

Package Description
perl-Catalyst-Controller-Imager-0.06-alt1.noarch.rpm generate scaled or mangled images
perl-Catalyst-Controller-MIME-0.02-alt1.noarch.rpm Multipart MIME viewer via Catalyst
perl-Catalyst-Controller-Mobile-JP-0.02-alt1.noarch.rpm decode/encode with Encode::JP::Mobile
perl-Catalyst-Controller-MovableType-0.004-alt1.noarch.rpm Run Movable Type through Catalyst
perl-Catalyst-Controller-POD-1.0.0-alt1.noarch.rpm Serves PODs right from your Catalyst application
perl-Catalyst-Controller-Public-0.004-alt1.noarch.rpm A Public file serving Catalyst Controller
perl-Catalyst-Controller-RateLimit-0.28-alt1.noarch.rpm Protect your site from robots
perl-Catalyst-Controller-SOAP-1.25-alt1.noarch.rpm Catalyst SOAP Controller
perl-Catalyst-Controller-SimpleCAS-1.002-alt1.noarch.rpm General-purpose content-addressed storage (CAS) for Catalyst
perl-Catalyst-Controller-Validation-DFV-0.0.8-alt1.noarch.rpm Form validation and refilling
perl-Catalyst-Controller-WrapCGI-0.038-alt1.noarch.rpm Run CGIs in Catalyst
perl-Catalyst-Controller-reCAPTCHA-0.8-alt1.noarch.rpm authenticate people and read books!
perl-Catalyst-ControllerRole-At-0.005-alt1.noarch.rpm Alternative syntax for describing Catalyst routes
perl-Catalyst-ControllerRole-CatchErrors-0.05-alt1.noarch.rpm custom error handling in your controller
perl-Catalyst-Engine-Apache-1.16-alt1_21.noarch.rpm Catalyst Apache Engines
Advertisement
Advertisement