Re: [Zope-dev] TALES wish : the "thistemplate" variable

2003-07-29 Thread Shane Hathaway
Chris Withers wrote: http://dev.zope.org/Wikis/DevSite/Proposals/MacroParameters I'm swinging round to the ideas behind this proposal having initially been against it. What's the status of implementation? Somewhere in the clouds. :-) Seriously, people seem to be in favor of it, but it's not a pre

Re: [Zope-dev] TALES wish : the "thistemplate" variable

2003-07-29 Thread Chris Withers
Shane Hathaway wrote: We recently had a discussion about this: http://dev.zope.org/Wikis/DevSite/Proposals/MacroParameters The conclusion we came to is that we need a new kind of construct, tentatively called a "subtemplate". Subtemplates accept parameters and have full control over the varia

Re: [Zope-dev] TALES wish : the "thistemplate" variable

2003-07-23 Thread Shane Hathaway
Gilles Lenfant wrote: What's behind this ? Actually, we get the "template" variable available in the TALES namespace. "template", when used in a macro, refers to the template that uses the macro, and not to the template that contains the macro. IMHO the underlying problem is that there's no clean

[Zope-dev] TALES wish : the "thistemplate" variable

2003-07-23 Thread Gilles Lenfant
What's behind this ? Actually, we get the "template" variable available in the TALES namespace. "template", when used in a macro, refers to the template that uses the macro, and not to the template that contains the macro. The future (if you wish it with me) "thistemplate" variable will refer to