Hello,
I started with Catalyst and don't know why I cannot access the context
object from Template Toolkit.
All other data from db or from forms is rendered ok but when I do e.g.
[% c.config.name %] in the template, nothing is shown.
I call template like this:
On 15 Mar 2007, at 17:01, rahed wrote:
[% c.config.name %] in the template, nothing is shown.
I think this needs to be:
[% Catalyst.config.name %]
I call template like this:
$c-stash-{template}-'books/view.tt2';
And this needs to be:
$c-stash-{template} = 'books/view.tt2';
HTH,
On Thu, Mar 15, 2007 at 06:00:33PM +, Adeola Awoyemi wrote:
On 15 Mar 2007, at 17:01, rahed wrote:
[% c.config.name %] in the template, nothing is shown.
I think this needs to be:
[% Catalyst.config.name %]
C::V::TT has:
sub template_vars {
my ( $self, $c ) = @_;
my
On 3/15/07, Bill Moseley [EMAIL PROTECTED] wrote:
On Thu, Mar 15, 2007 at 06:00:33PM +, Adeola Awoyemi wrote:
On 15 Mar 2007, at 17:01, rahed wrote:
[% c.config.name %] in the template, nothing is shown.
I think this needs to be:
[% Catalyst.config.name %]
C::V::TT has:
sub