[Zope] ZPT macro using a macro from the same page template
Jens Vagelpohl
jens@zope.com
Tue, 22 Jul 2003 10:57:24 -0400
template/macros/aux
jens
On Tuesday, Jul 22, 2003, at 09:44 US/Eastern, Gilles Lenfant wrote:
> Hi,
>
> I made an all purpose widget macros collection template, and one macro
> from
> the template is used by another one.
>
> Is there a kind of shortcut to tell the main macro that the secondary
> macro
> is defined in the same template ?
>
> <div metal:define-macro="aux">
> </div>
> <div metal:define-macro="main">
> <div metal:use-macro="xxx/aux">
> </div>
> </div>
>
> Thanks in advance for the hints
>
> --Gilles