[Zope] Acquisition problem

jiva@devware.com jiva@devware.com
Wed, 12 Apr 2000 15:45:54 -0700


I am confused about acquisition.  What I want to do is I have a home
page, and I have a standard_html_header I am including in it.
standard_html_header changes the background color to say, black.
These are both in a folder.  I want to create a subfolder of this
folder and only replace standard_html_header to change the background
color to white.  Kinda like theming, I want to keep all the content
and keep the root black site, but then have a second identical copy
that is all white.

What I find when I try to do this, is I copy standard_html_header into
my subfolder, and I make my change there.  I have no index_html in my
subfolder.  I am assuming it will work like inheritance in OOP and
inherit anything that's not there, and have it then refer to the
current folder for it's standard html header.  What actually happens
though, is when I reference this folder, it goes to the parent, gets
the index_html AND the standard_html_header from the parent and uses
it to override my standard_html_header in my child folder!  

What am I doing wrong?
-- 
The sooner you make your first 5000 mistakes, the sooner you will be
able to correct them.
		-- Nicolaides