[Zope] ZPT macro using a macro from the same page template

Gilles Lenfant gilles@pilotsystems.net
Tue, 22 Jul 2003 15:44:17 +0200


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