[ZPT] ZPT standard in Zope

Peter Bengtsson mail@peterbe.com
Thu, 26 Jul 2001 09:01:23 +0200


> I'm considering the possibility that macros could be made executable, so
> that you could make your standard_html_header into:
>
> <dtml-var expr="standard_html_template.exec_macro('header')">

There's tiny difference in this and in:
<dtml-var expr="standard_html_template.exec_macro('headerandfooter')">

In DTML, one uses two pieces of templates to get both <body> and </body>. In
ZPT you only use one.
Is that what you meant? Perhaps I'm just word-picking.

Peter