Bill Moseley wrote:
On Thu, Apr 12, 2007 at 04:18:06PM -0700, Jeff Chimene wrote:
Thanks for the reply. The problem I'm trying to solve is referencing
(reading) config settings from a template. I'd like to tell one or more
templates that sometimes they will use frames sometimes not
On Fri, Apr 13, 2007 at 09:34:23AM -0700, Jeff Chimene wrote:
Thanks for your reply. As I indicated in an earlier message
(http://www.mail-archive.com/[EMAIL PROTECTED]/msg04690.html),
I've tried Dumper. I certainly get c.config values, but none of them are
TT2 configuration settings. I'm
Jeff Chimene said:
Thanks for your reply. As I indicated in an earlier message
(http://www.mail-archive.com/[EMAIL PROTECTED]/msg04690.html),
I've tried Dumper. I certainly get c.config values, but none of them are
TT2 configuration settings. I'm using a view generated by the catalyst
helper
Hi,
Thanks for the reply.
I see two ways to obtain TT2 configuration values in the TT2 template:
Bill Moseley wrote:
[%
USE foo = Class( 'Whatever::View::TT' );
USE Dumper; Dumper.dump(foo.config ) | stderr;
%]
and
Robert 'phaylon' Sedlacek wrote:
The merged configuration will
Hi,
Thanks for the reply.
I see two ways to obtain TT2 configuration values in the TT2 template:
Bill Moseley wrote:
[%
USE foo = Class( 'Whatever::View::TT' );
USE Dumper; Dumper.dump(foo.config ) | stderr;
%]
and
Robert 'phaylon' Sedlacek wrote:
The merged configuration will
Jeff Chimene wrote:
Hi,
I'm not sure if this is a Catalyst question -
How do I reference __PACKAGE__config settings from a Template Toolkit
template?
I'd like to use the config tool to set values outside the stash.
Cheers,
jec
OK. After much research, it turns out that the correct answer
Hi,
I'm not sure if this is a Catalyst question -
How do I reference __PACKAGE__config settings from a Template Toolkit
template?
I'd like to use the config tool to set values outside the stash.
Cheers,
jec
___
List: [EMAIL PROTECTED]
Listinfo:
Jeff Chimene scribbled on 4/12/07 9:29 AM:
Hi,
I'm not sure if this is a Catalyst question -
How do I reference __PACKAGE__config settings from a Template Toolkit
template?
I'd like to use the config tool to set values outside the stash.
[% c.config.yourconfigkeyhere %]
--
Peter
Peter Karman wrote:
Jeff Chimene scribbled on 4/12/07 9:29 AM:
Hi,
I'm not sure if this is a Catalyst question -
How do I reference __PACKAGE__config settings from a Template Toolkit
template?
I'd like to use the config tool to set values outside the stash.
[%
Jeff Chimene scribbled on 4/12/07 10:35 AM:
and I don't see the TT2 configuration settings. When I try the similar
experiment in the perl module, dump __PACKAGE__-config, the TT2
configuration settings are displayed.
that's because your TT config probably isn't getting set in the master
Peter Karman wrote:
Jeff Chimene scribbled on 4/12/07 10:35 AM:
and I don't see the TT2 configuration settings. When I try the
similar experiment in the perl module, dump __PACKAGE__-config,
the TT2 configuration settings are displayed.
that's because your TT config probably isn't
On Apr 12, 2007, at 1:01 PM, Jeff Chimene wrote:
The config is called in the View package (fori::View::Menu) I was
hoping to set TT2 values /per package/ via the config as created by
the TT2 helper. It looks like (after DEBUG = 'all') that TT2 only
references the stash when it resolves
Jason Kohles wrote:
On Apr 12, 2007, at 1:01 PM, Jeff Chimene wrote:
The config is called in the View package (fori::View::Menu) I was
hoping to set TT2 values /per package/ via the config as created by
the TT2 helper. It looks like (after DEBUG = 'all') that TT2 only
references the stash
On Thu, Apr 12, 2007 at 04:18:06PM -0700, Jeff Chimene wrote:
Thanks for the reply. The problem I'm trying to solve is referencing
(reading) config settings from a template. I'd like to tell one or more
templates that sometimes they will use frames sometimes not
(debugging). I blithely
14 matches
Mail list logo