[Catalyst] error handling (Chain where ajax and non-ajax actionschain off)

Hernan Lopes hernanlopes at gmail.com
Wed Nov 10 15:40:15 GMT 2010


Octavian,

Its just an action with attributes predefie ie:

(in your controller):
__PACKAGE__->config(
    action =3D> {

        myaction =3D>
          { Chained =3D> 'base', PathPart =3D> q{myaction}, Args =3D> 0, },
        });

sub myaction :Action {
        my ( $self, $c,) =3D> @_;

..............

        }

--Hernan


2010/11/10 Octavian Rasnita <orasnita at gmail.com>

> Hi,
>
> From: "Eden Cardim" <edencardim at gmail.com>
> > in Controller::Artist:
> >
> > sub error_404 :Action {
>
>
> Can I find more information about the ":Action" dispatch type?
>
> Is it just a replacement for :Private? Or it is something different?
>
> Thanks.
>
> Octavian
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20101110/484cf=
ece/attachment.htm


More information about the Catalyst mailing list