[Zope] ZPT tal:define scoping with METAL
Ed Leafe
ed at leafe.com
Fri Sep 5 11:26:48 EDT 2003
On Friday, September 5, 2003, at 10:00 AM, Chris Withers wrote:
> METAL substitution happens before an code is evalutated.
> So, your div that defines the results is being substituted out.
Thanks for confirming that.
> Either move the define to "myTemplate", in your example, or do
> something like this in the myTemplate:
Ah! I hadn't thought of adding an additional slot, but that's a lot
more elegant than the hack I had come up with. ;-) Thanks.
___/
/
__/
/
____/
Ed Leafe
http://leafe.com/
http://opentech.leafe.com
More information about the Zope
mailing list