[Catalyst] Re: How to print/display some data in an end action

Kieren Diment diment at gmail.com
Mon May 5 08:48:55 BST 2008


On 5 May 2008, at 16:46, Emmanuel Quevillon wrote:

> Aristotle Pagaltzis wrote:
>> Hi Emmanuel,
>> * Emmanuel Quevillon <tuco at pasteur.fr> [2008-04-30 16:30]:
>>> Maybe I can clarify the situation.
>> OK; but all of that was already reasonably obvious. The issue is,
>> you are doing something to forward to ::View::TT automatically at
>> the end of a request. Catalyst does not do that by itself. So the
>> problem would have to be fixed there. First question: what does
>> the `end` action in your Root controller do? Do you have any other  
>> `end`s? If so, what do those do?
>> Regards,
> Hi Aristotle,
>
> My Root::end action is simply :
>
> sub end : ActionClass(RenderView) {

my ($self, $c) = @_;
my $whatever = do_stuff()
$c->stash->{whatever} = $whatever

> }
>
> And I don't have any other end action in other controllers.
>
> Regards
>
> Emmanuel
>
> -- 
> -------------------------
> Emmanuel Quevillon
> Biological Software and Databases Group
> Institut Pasteur
>

Quesque c'es faire l'institute pasteur avec catalyst?



More information about the Catalyst mailing list