[Catalyst] Setting Template Tookit WHILE_MAX from Catalyst
ksdoctor at burnham.org
Mon Jan 26 21:57:24 GMT 2009
OK.. so how?
I tried :
CATALYST_VAR => 'Catalyst',
INCLUDE_PATH => [
subs->path_to( 'root', 'src' ),
subs->path_to( 'root', 'lib' )
PRE_PROCESS => 'config/main',
WRAPPER => 'site/wrapper',
ERROR => 'error.tt2',
TIMER => 0,
WHILE_MAX => 100,
'Directive::WHILE_MAX' => 100, (substitute for line above)
both had no effect!
The Catalyst::View::TT perldoc says to set config options in lib/MyApp.pm,
however, these are in lib/MyApp/View/TT.pm but seems to be doing the same
The config passing code is little difficult to follow, so perhaps an expert
tell me what I am getting wrong..
Matt Pitts wrote:
>> -----Original Message-----
>> From: Kutbuddin [mailto:ksdoctor at burnham.org]
>> Sent: Monday, January 26, 2009 2:50 PM
>> To: catalyst at lists.scsys.co.uk
>> Subject: [Catalyst] Setting Template Tookit WHILE_MAX from Catalyst
>> I would like to know how to set the TT variable :
>> from within Catalyst.. maybe as part of the site View configuration in
>> or similar
> Haven't done it myself, but if there's not a documented config option or
> method for setting it, then I would just set it directly in your
> View/TT.pm as you've suggested.
> -matt pitts
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> Dev site: http://dev.catalyst.perl.org/
View this message in context: http://www.nabble.com/Setting-Template-Tookit-WHILE_MAX-from-Catalyst-tp21672356p21673995.html
Sent from the Catalyst Web Framework mailing list archive at Nabble.com.
More information about the Catalyst