10 Oct
2003
10 Oct
'03
9:51 a.m.
From: Paul Winkler [mailto:pw_lists@slinkp.com]
On Thu, Oct 09, 2003 at 08:46:24PM -0700, Jason Corbett wrote: How does an object in zope know where it sits in the hirearchy,
The only unique identifier that zope provides is the containment path. An object can tell you its containment path by doing foo.absolute_url(1) or foo.getPhysicalPath() depending on what form you want the output in.
I am often confused by this as well. I think, however, that you can also reach objects by its "object id" oid. If I just use simple assignment of a variable to an object in Zope, I get that object's oid, right?