[Zope-dev] Page Templates and nested templates

Johan Carlsson johanc@torped.se
Sun, 1 Apr 2001 23:04:32 +0200


After playing with Page Templates I have one question/idee.

Would it be completely stupid to be able to nest Macros.
That is, you would have one MainMacroTemplate defining
several Slots/SubMacros and then make several SubMacrosTemplates
that inherents from the MainMacroTemplate, defining the Slots/SubMacros
as new Macro definitions.
This would give you an hierarcy of templates and make it possible
to factor out common stuff higher up in the hierarcy and leaving the
sub templates to handle specialisation.


Just my 25-=F6ren,
Johan Carlsson