[Catalyst] Re: Calling Controller Methods from inside begin or auto.

Bernhard Graf catalyst4 at augensalat.de
Tue Sep 29 13:38:32 GMT 2009


Aristotle Pagaltzis schrieb:
> * monkey <dwueppel at gmail.com> [2009-09-29 14:35]:
>> Is there another way to do the above without having to write
>> the auth handling at the top of every method used to display
>> pages?
> 
> Chained dispatch. Do an auth check early in the chain, then the
> actions down the chain don’t need to do it.

Here I have a question:

What is the recommended way to leave a chain - eg. to show a login form?

detach?

Exceptions (with "die") don't work, since all Catalyst actions are
wrapped in evals.



More information about the Catalyst mailing list