[Catalyst] problem with FormBuilder + TT2
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
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.
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
> "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...
More information about the Catalyst