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 at > /usr/local/share/perl/5.8.7/CGI/FormBuilder/Util.pm line 149 > CGI::FormBuilder::Util::puke('Template::Exception=ARRAY(0x94b5b90)') > called at /usr/local/share/perl/5.8.7/CGI/FormBuilder/Template/TT2.pm > line 66 > > Might it be that FormBuilder doesn't find the Catalyst template dir, > and if yes, how do I let FB know? > Any help is greatly appreciated. > > Best regards, > > Moritz > ------------------------------------------------------------------------ > > _______________________________________________ > List: Catalyst@lists.rawmode.org > Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ > Dev site: http://dev.catalyst.perl.org/ > What i think you want is $c->path_to(qw/root customers signup.tt2/)
Ash _______________________________________________ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/