[Catalyst] file error - books/delete.tt2

hkclark at gmail.com hkclark at gmail.com
Sun Oct 15 23:23:28 CEST 2006


On 10/15/06, Ken Perl <kenperl at gmail.com> wrote:
> hi,
>
> while trying the
> http://search.cpan.org/~jrockway/Task-Catalyst-Tutorial-0.01/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod,
>
> and test the delete feature, do you have the error like below?
>
> Coldn't render template "file error - books/delete.tt2: not found"
>

Hi Ken,

Have you done the last step in the previous part of the tutorial:

http://search.cpan.org/~jrockway/Task-Catalyst-Tutorial-0.02/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod#RETURN_TO_A_MANUALLY-SPECIFIED_TEMPLATE

Note the note right above that section:

NOTE: Please note that if you use the default template technique, you
will not be able to use either the $c->forward or the $c->detach
mechanisms (these are discussed in Part 2 and Part 8 of the Tutorial).

I could be wrong, but it sounds like you are trying to use the
"TEMPLATE_EXTENSION" feature with forward/detach.

Let me know if that's not it.

Thanks,
Kennedy



More information about the Catalyst mailing list