[Zope] nested directories

Dieter Maurer dieter@handshake.de
Wed, 20 Feb 2002 22:19:34 +0100


Matt Gregory writes:
 > If I have a namespace which contains a namespace called images while it's
 > parent also contains a namespace called images how do I make the following
 > section of code access the correct namespace?  I know where my obvious
 > problem is, when calling parent_meth from child_meth the parent_meth
 > dtml-with images is returning the child images object which does not contain
 > default.gif inside of it's namespace and therefore gives me an exception.
When you know from which "images" your specific image should come,
you can use 

    <dtml-with expr="parent_of_images.images"><dtml-var your_specific_image></dtml-with>


Dieter