[Zope] ZPT Accessing parent variables/attributes.

Chris Withers chris at simplistix.co.uk
Wed Feb 25 10:18:39 EST 2004


Jason C. Leach wrote:
> I have a ZPT that calles a 2nd ZPT to display more information on a
> document.

What does the code for thsi call look like?

   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?

What happens if you do:

<tal:x replace="here"/>

...in your 2nd ZPT?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk




More information about the Zope mailing list