+-------[ Roman Klesel ]----------------------
| Hello,
| 
| Roman Klesel schrieb:
|  > 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.
| 
| In order to make my problem more obvious I created a minimal product. See 
attachmet.
| 
| It displays exactly the problem I'm facing:
| 
| A method in the base class that returns self.id, returns the id of the base 
class on all subfolders it is called.

That's the way acquisition works. I'm not sure why you want this, since
everything you're adding has an id already, so there's no need to acquire any
method to get the id.

Perhaps if you describe the problem you're trying to solve, we can actually
help you.

-- 
Andrew Milton
[EMAIL PROTECTED]
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to