Thank you guys for your help.Somehow it works now, though I don't know why.All I have now is my Formbuilder source fileand $c-stash-{template} = 'customers/signup.tt2'; 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
John Napiorkowski wrote:
(snip)
Hey, question for you; are you using Formbuilder with
a database? If so what are you doing to manage
getting stuff between formbuild and your datbase of
choice? I'm using DBIx and just doing braindead stuff
like writing a bunch of $c-form-field(name=,
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
Moritz Sisenop wrote:
Hello!
I am using FormBuilder, CGI::FormBuilder::Source::File, and TT2.
I set the template in the source file:
template:
type: TT2
template: customers/signup.tt2
And get the following error:
undef error - Fatal: file error - customers/signup.tt2: not found
-- Ash Berlin [EMAIL PROTECTED] wrote:
Moritz Sisenop wrote:
Hello!
I am using FormBuilder,
CGI::FormBuilder::Source::File, and TT2.
I set the template in the source file:
template:
type: TT2
template: customers/signup.tt2
And get the following error:
undef error -
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.
I didn't trywhatJohnrecommendedsinceIwanttokeepmyformdescriptionsandtt-templatesindifferentdirs. Instead