[Catalyst] chained actions,
knowing if current action is an endpoint or not
John Napiorkowski
jjn1056 at yahoo.com
Thu Feb 1 17:37:06 GMT 2007
--- Jonas Alves <jonas.alves at gmail.com> wrote:
> On 01/02/07, Dami Laurent (PJ)
> <laurent.dami at justice.ge.ch> wrote:
> >
> > Dear Catalysters,
> >
> > I would like to set up an action chain where the
> entry point to the chain
> > (first action) has to do different things
> depending on whether there is
> > another action down the chain or not.
> >
> > Is there a way in the API to ask Catalyst about
> what is pending in the
> > rest of the action chain ? or a way to know if the
> current action is being
> > used as an endpoint or not ?
> >
> > Thanks in advance, L. Dami
> >
>
> I think you can't have one action that is both an
> endpoint and a normal
> chained action at the same time. You have to define
> two actions with the
> same PathPart.
Hmm, interesting point. I'm going to go and try
writing something that trys to modify the
ActionContainer and see what happens! --john
>
> --
> Jonas
> > _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo:
> http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive:
>
http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
>
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html
More information about the Catalyst
mailing list