[Zope] Can one nest macros with slots?

Doyon, Jean-Francois Jean-Francois.Doyon at CCRS.NRCan.gc.ca
Wed Jan 25 17:28:20 EST 2006


I can't seem to do this:

<use-macro>
  <fill-slot>
    <define-macro>
      <... Some html ...>
      <define-slot></define-slot>
      <... Some html ...>
    </define-macro>
  </fill-slot>
</use-macro>

Allowing me to nest multiple reusable templates?

I have objects with common interfaces which could easily share templates ...
If I could do this! (The shared template still needs to endup in the
"master" template).

Or are there other techniques to achieve this?

Thanks!

Jean-François Doyon
Internet Service Development and Systems Support / Spécialiste de
dèveloppements internet et soutien technique
Canada Centre for Remote Sensing/Centre Canadien de télédétection
Natural Resources Canada/Ressources Naturelles Canada
http://atlas.gc.ca
Tel./Tél.: (613) 992-4902
Fax: (613) 947-2410


More information about the Zope mailing list