[ZPT] Re: [Zope3-dev] TAL Macro Parameters
Chris Withers
chrisw at nipltd.com
Fri May 23 16:09:03 EDT 2003
Shane Hathaway wrote:
>
> People are already using it that way, however, and the current syntax is
> causing pain.
Who? Where? Why?
If you want that kind of behaviour, why not just do something:
<tal:x replace="python:here.myothertemplate(a='x',b=somevar')"/>
?
> As stated in the proposal: "We believe the current
> implicit parameter passing scheme leads to much greater operational
> complexity, in confusion about the source of values and code complexity
> in providing for missing settings."
Yeah, it's how DTML works ;-)
>> Finally, under the proposed code, how would you go about getting
>> things to behave like thery do now?
>
> You just don't provide or require parameters. Variables will still
> behave as they do today.
Ah, okay...
Chris
More information about the ZPT
mailing list