[ZPT] Using PTFiles in Python Products
Michael R. Bernstein
09 Jul 2002 13:25:21 -0700
I'm writing a product and have chosen to use PTFiles for the
presentation layer, but I've run into a problem.
How do I access the macros defined in a PTFile defined on an object from
a PTFile defined on a child object?
I have an index_html PTFile attribute defined on a container object, and
another index_html PTFile attribute defined on a subobject. I would like
to access a macro defined on the parent object's index_html.
The following does not seem to work:
<p metal:use-macro="here/../index_html/macros/manage_navbar">Navbar goes
which raises an 'Undefined' error.