Re: [Templates] Limiting TT2's features

[prev] [thread] [next] [Date index for 2004/10/05]

From: Chris Winters
Subject: Re: [Templates] Limiting TT2's features
Date: 16:57 on 05 Oct 2004
On Tue, 5 Oct 2004 12:54:26 -0400, Darren Chamberlain <dlc@xxxxxxxxx.xxx> wrote:
> Template::Context.  Just subclass Template::Context and implement your
> own include method.  This has the advatange of changing the meaning of
> the INCLUDE directive, while not altering the grammar at all, so your
> users could still do:

Of course. You'd think I'd remember this since I wrote one of these already :-)

http://cvs.sourceforge.net/viewcvs.py/openinteract/OpenInteract2/lib/OpenInteract2/TT2/Context.pm?rev=1.2&view=auto

Chris

        -- 
        Chris Winters (chris.winters@xxxxx.xxx)
Building enterprise-capable snack solutions since 1988.

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] Limiting TT2's features
Dan Thomas 16:26 on 05 Oct 2004

Re: [Templates] Limiting TT2's features
Chris Winters 16:43 on 05 Oct 2004

Re: [Templates] Limiting TT2's features
Darren Chamberlain 16:54 on 05 Oct 2004

Re: [Templates] Limiting TT2's features
Chris Winters 16:57 on 05 Oct 2004

RE: [Templates] Limiting TT2's features
Cahill, Earl 17:47 on 05 Oct 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52