[Zope] Acquisition not working as expected

Dieter Maurer dieter at handshake.de
Wed Mar 1 17:06:58 EST 2006


Roman Klesel wrote at 2006-3-1 13:24 +0100:
> ...
>I can call this method on whatever folder inside the product instance I want, it will always return the id of the
>product and not the id of the product I call it on.

I fear you will need to more clearly describe what you mean
with "the product" (on one hand) and "the product I call it on"
(on the other hand).
You should clearly state which classes the objects
"the product" and "the product I call it on" have (classes
are the primary influence, the acquisition relation is the
secondary influence -- this should should state clearly as well).


Note also that objects in your Zope hiearchy are not "products"
(a product is a Zope extension mechanisms usually defining and
registering various classes that can be use to create persistent
Zope objects).



-- 
Dieter


More information about the Zope mailing list