[Catalyst] Template directive failing?

Antano Solar solar345 at gmail.com
Sun Aug 19 06:17:29 GMT 2007


On 8/17/07, Michael Higgins <listinfo at banfieldgroup.com> wrote:
>
> New problem with my code:
>
> Error message is: Couldn't render template "file error -
> shipments/form_create_do: not found"
>
>   action           =3D> "shipments/form_create_do"
>
> and in my Shipments.pm
>
>
> sub form_create_do : Local {
>
>     # Set the TT template to use
>     $c->stash->{template} =3D 'shipments/create_done.tt2';
>
>
> ... so why would it look for shipments/form_create_do and not
> shipments/create_done.tt2?
>
> In all the other controllers, this syntax seems to be working _just fine_.
>
> I must be missing something very basic. Any thoughts? I'm lost on how to
> track this one down. :(
>
> Cheers,




  It could be that a return statement is getting executed before the
     $c->stash->{template} =3D 'shipments/create_done.tt2'; statement

Antano Solar John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070819/90e70=
4b2/attachment.htm


More information about the Catalyst mailing list