[ZPT] Re: [Zope3-dev] TAL Macro Parameters

Dieter Maurer dieter at handshake.de
Mon Jun 2 19:47:30 EDT 2003


Chris Withers wrote at 2003-6-2 12:06 +0100:
 > > Macros support slots, page template calls do not...
 > 
 > Indeed, but what Shane is suggesting sounds like abusing slots so they can be 
 > used like parameters. My point is why not just use parameters all call a page 
 > template?

Because 

  1. slots can contain TAL which is tricky when you want to pass them
     as ordinary parameters.

  2. HTML editors are happier when they can treat slots as
     elements rather than (part of) attributes.


Dieter



More information about the ZPT mailing list