[Catalyst] Problem with RenderView

Bernhard Graf catalyst2 at augensalat.de
Fri May 4 14:53:02 GMT 2007


On Friday 04 May 2007 15:41, Bogdan Lucaciu wrote:
> On Friday 04 May 2007 13:34, Bernhard Graf wrote:
> > For a Catalyst application I have written View classes that
> > serialize DBIC ResultSets to common formats (CSV, XML) to be stored
> > to disc.
>
> [...]
>
> First of all, why are you sending your response from the controller
> and not from the view?

???

> RenderView doesn't use a default view, it uses $c->view();
> You can read about it here:
> http://search.cpan.org/perldoc?Catalyst#%24c-%3Eview(%24name)

$c->view() uses a default_view class if configured.
-- 
Bernhard Graf



More information about the Catalyst mailing list