[Zope] Zope Object Contexts and Acquisition
Chris Withers
chrisw@nipltd.com
Wed, 27 Feb 2002 15:00:15 +0000
Keep it on the list...
"Timo A. Hummel" wrote:
>
> >Well, if you do this, then you'll want to change getPhysicalRoot()
> either to site1, if site1 is a unique name, or
> >restrictedTraverse('/site1') if it's not.
>
> That's the idea NOT to change anything. I thought some construct like:
>
> myObject.getPhysicalPath.objectValues
>
> so it gets the objectValues relative to myObject and not relative to the
> object from where
> myObject is called.
So, what's wrong with restrictedTraverse('/myobject').objectValues()?
cheers,
Chris