[Zope] Page Templates define
Dieter Maurer
dieter@handshake.de
Mon, 28 Oct 2002 21:28:16 +0100
Mark Gibson writes:
> I define a variable in a tag, and try and use it in a contained tag, and get a
> NameError on that variable. Can anyone help me understand why? The snippet of
> code is below:
>
> <html metal:use-macro="here/GetTemplate"
> tal:define="objs here/regionObjects;
> num_objs python:objs[0] ">
TAL attributes on a metal "use-macro" tag are ineffective
(as the complete tag is replaced by the macro, including the
TAL attributes.
Dieter