[Zope] nested metal macros

Dieter Maurer dieter at handshake.de
Wed Aug 23 13:44:48 EDT 2006


Antonio Beamud Montero wrote at 2006-8-22 19:45 +0200:
> ...
>> I do not understand what you precisely want to achieve.
>> 
>> However, you could get something like the example in your
>> original post by:
>> 
>>    *  define "macroB" at the page level (it uses "macroA")
>
>>    *  make your former "macroB" a "macroC" and define it inside a slot.
>
>Sorry, but I don't understand this... can you give me a simple example
>(I think is the same I have tried before..)

The only thing you may not understand is 'define "macroB" at the
page level' (because everything else is from your example).

A macro defined at the page level looks like this

  macroB (PageTemplate)

    <metal:page define-macro="macroB">
      ....
    </metal:page>



-- 
Dieter


More information about the Zope mailing list