[Zope] Acquisition inquisition

Kevin Dangoor kid@kendermedia.com
Wed, 22 Sep 1999 22:21:39 -0400


The short of it is that the actual container of "education" is / and not
"test". The long of it is in this message by Jim Fulton:
http://www.egroups.com/list/zope/md1921706242.html

Kevin

-----Original Message-----
From: Ben Glazer <glazer@scicomp.com>
To: Zope Mailing List <zope@zope.org>
Date: Wednesday, September 22, 1999 9:59 PM
Subject: [Zope] Acquisition inquisition


>I appear to misunderstand how acquisition works in Zope, as it's not
>behaving like I expect it should.
>
>This is what my folder structure looks like in Zope:
>
> /
> + test
> + education
>
>Both / and test contain DTML methods called standard_html_header.  A file
in
>/test/education contains the following line:
>
> <dtml-var standard_html_header>
>
>This causes the header in / to be used, and not the one in /test.  I
thought
>that methods were acquired from containers.  Since /test contains education
>more immediately than / contains /test/education, why does a DTML method in
>/test/education seem to default to acquiring methods from / ?