[Catalyst] Problem with RenderView

Wade.Stuart at fallon.com Wade.Stuart at fallon.com
Fri May 4 15:41:07 GMT 2007







Bernhard Graf <catalyst2 at augensalat.de> wrote on 05/04/2007 09:24:12 AM:

> On Friday 04 May 2007 15:58, Bogdan Lucaciu wrote:
> > On Friday 04 May 2007 16:53, Bernhard Graf wrote:
> > > > First of all, why are you sending your response from the
> > > > controller and not from the view?
> > >
> > > ???
> >
> > I think you deleted the example.
>
> I think you didn't read my email.
>
> Your example is superfluous, because this is what my application looks
> like basically.
>
> Your answer simply misses the point.
>
> The question is simply:
>
> How to keep RenderView from doing anything, if data has already been
> written using $c->write()?

why write()?  I thought Cat does this behind the scenes if you pass
$c->res->body($fh); #filehandle


>
> I also posted a solution to the problem and just want to know if
> a) it is correct or somebody has a better idea and
> b) it could be added to C:A:RenderView in a future release.




More information about the Catalyst mailing list