On Mon, Jan 26, 2009 at 11:50 AM, Kutbuddin <[email protected]> wrote: > > Hi, > > I would like to know how to set the TT variable : > $Template::Directive::WHILE_MAX > > from within Catalyst.. maybe as part of the site View configuration in > lib/MyApp/View/TT.pm > or similar > > By default the maximum for a while loop is 1000. > > thanks.. > -- > View this message in context: > http://www.nabble.com/Setting-Template-Tookit-WHILE_MAX-from-Catalyst-tp21672356p21672356.html > Sent from the Catalyst Web Framework mailing list archive at Nabble.com. >
1) Edit lib/MyApp/View/TT.pm 2) Add: $Template::Directive::WHILE_MAX = $desired_value; 3) Profit. -J _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
