Re: [Catalyst] ActionClass('RenderView') questions

2013-03-10 Thread Tomas Doran
On 5 Mar 2013, at 14:46, E R pc88m...@gmail.com wrote: My use case is that I am developing a second view class, but it can't handle all of the templates yet. So the logic I am putting into the end method is: if (View2 can handle template $c-stash-{template}) { $c-stash-{current_view}

Re: [Catalyst] ActionClass('RenderView') questions

2013-03-05 Thread E R
On Mon, Mar 4, 2013 at 9:00 PM, Tomas Doran bobtf...@bobtfish.net wrote: On 4 Mar 2013, at 22:59, E R pc88m...@gmail.com wrote: Also, what does it mean if $c-stash-{template} is undef at this point? Maybe :) My use case is that I am developing a second view class, but it can't handle

Re: [Catalyst] ActionClass('RenderView') questions

2013-03-05 Thread John Napiorkowski
From: E R pc88m...@gmail.com To: The elegant MVC web framework catalyst@lists.scsys.co.uk Sent: Tuesday, March 5, 2013 9:46 AM Subject: Re: [Catalyst] ActionClass('RenderView') questions On Mon, Mar 4, 2013 at 9:00 PM, Tomas Doran bobtf

Re: [Catalyst] ActionClass('RenderView') questions

2013-03-05 Thread E R
:* Re: [Catalyst] ActionClass('RenderView') questions On Mon, Mar 4, 2013 at 9:00 PM, Tomas Doran bobtf...@bobtfish.net wrote: On 4 Mar 2013, at 22:59, E R pc88m...@gmail.com wrote: Also, what does it mean if $c-stash-{template} is undef at this point? Maybe :) My use case is that I am

Re: [Catalyst] ActionClass('RenderView') questions

2013-03-04 Thread Tomas Doran
On 4 Mar 2013, at 22:59, E R pc88m...@gmail.com wrote: In my root controller, I have this method: sub end : ActionClass('RenderView') { ... } I understand that this method is called after the controller for the request has finished and just before the view is called to render any