[Zope] Page Template Dynaics

Mikhail mikhail@freehand.ru
Mon, 09 Dec 2002 19:18:45 +0300


Hello all.

Zope Book have example  
(http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPT.stx):

<p metal:use-macro="python:here.getMacro()">
  Replaced with a dynamically determined macro,
  which is located by the getMacro script.
</p>

Can you explain this example and show simple script?
"""
return 'path/to/zpt/macros/some'
"""
don't work.

-- 
Mikhail 'Xen' Kashkin