[ZPT] nesting macros

Geir Bækholt Geir Bækholt <geirh@funcom.com>
Wed, 4 Apr 2001 14:56:50 +0200


it seems to be intended to be able to nest metal-macros , but this
seems a bit problematic when the nested macros contain slots..

i have a (somewhat simplified) structure like this :

macrotemplate1 (defines a bit of html with 3 slots
metal:define-macro="itemWithSlots"

macrotemplate2 (defines a common look and feel , including
itemWithSlots :
metal:use-macro="here/macrotemplate1/macros/itemWithSlots

when i try to use the common look and feel macro from macrotemplate2 ,
the itemWithSlots macro won't take my values for fill-slot. - it
always renders whatever is defined in macrotemplate2 , whether i use
fill-slot or define-slot there..

have anybody looked at constructs like this ?

--
Geir Bækholt
web-developer/designer
geirh@funcom.com
http://www.funcom.com

<!-- PGPid : 0x90B47B20 -->