[Zope] ZPT Accessing parent variables/attributes.
Dieter Maurer
dieter at handshake.de
Wed Feb 25 16:03:23 EST 2004
Jason C. Leach wrote at 2004-2-24 09:00 -0800:
>I have a ZPT that calles a 2nd ZPT to display more information on a
>document. In the parent ZPT I can do ${here/identifier} but in the child
>I can not:
>
>Error Type: KeyError
>Error Value: identifier
>
>What am I missing?
When you call a second ZPT (rather than include part of it
via "metal:use-macro"), then "here" usually changes.
"here" is the object via with the ZPT is accessed.
--
Dieter
More information about the Zope
mailing list