[Zope] acquisition vs. inheritance

Jonothan Farr jfarr@real.com
Thu, 3 Aug 2000 17:26:11 -0700


> Is it possible to have just one top level object that refers to
> other objects that get overridden as you go into other folders?

Acquisition works the other way around. You can create objects in subfolders
whose contents are overriden higher up. You can't have an object at the top
whose contents get overridden as you go down.

Your solution was correct. Create another index_html in the subfolder, which
uses the 'contents' object in the subfolder, but the standard_html_header and
standard_html_footer from the parent folder.

--jfarr

"Perl is worse than Python because people wanted it worse."
Larry Wall, 14 Oct 1998