[Catalyst] problem with FormBuilder + TT2

Moritz Sisenop kuntau at gmail.com
Thu Sep 21 08:54:56 CEST 2006


Thank you guys for your help.
Somehow it works now, though I don't know why.
All I have now is my Formbuilder source file

and
$c->stash->{template} 
in the controller.
I am quite sure that I had the same setup during my experimentation, but I
don't know why it works now.

Once again, thank you all for your help.

Regards,

Moritz

On 9/19/06, Jason Kohles <email at jasonkohles.com> wrote:
>
> On Sep 19, 2006, at 1:37 AM, Moritz Sisenop wrote:
>
> When I try
>
> $c->path_to(qw/root customers signup.tt2/)
>
> there is no Catalyst error message anymore.
> Just a TT one: "Not a GLOB reference at
> /usr/local/lib/perl/5.8.7/Template/Provider.pm line 647."
>
> Template Toolkit doesn't know what to do with the Path::Class::File object
> that path_to is going to return,
> use $c->path_to(qw/root customer signup.tt2/)->stringify instead.
>
> --
> Jason Kohles
> email at jasonkohles.com
> http://www.jasonkohles.com/
> "A witty saying proves nothing."  -- Voltaire
>
>
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060921/a8dadea8/attachment.htm 


More information about the Catalyst mailing list