[Catalyst] Extra characters inserted into PDF output

Tomas Doran bobtfish at bobtfish.net
Wed Dec 3 12:25:15 GMT 2008


On 3 Dec 2008, at 11:59, Dr. Jennifer Nussbaum wrote:
>
> This looks like it's going to call fillform() even if theres a  
> response set... <Jen codes>
>
> THATS IT!
>
> I just added "return if $c->response->body;" after the forward and  
> it works! Nothing inserted! The problem was with fillform all the  
> time.
>
> Thank you, thank you all for helping me in such detail! I never  
> would have gotten there on my own.

Awesome!! Glad we got there :)

> Should the docs be clarified? In the firs tpart of the FillInForm  
> docs there *IS* something about skipping the view if output is set,  
> but at the bottom where it talks about RenderView (which must be  
> where i got this) it DOESNT say this.

Yes, they should. It tripped you up, so it will trip other people up.

Well volunteered!

http://dev.catalystframework.org/repos/Catalyst/trunk/Catalyst-Plugin- 
FillInForm/

Cheers
t0m




More information about the Catalyst mailing list