[Zope] acquisition

Andreas Jung lists at zopyx.com
Wed Dec 13 13:17:07 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- --On 13. Dezember 2006 19:12:13 +0100 Dennis Schulz <d.schulz81 at gmx.net> 
wrote:

> Hi
>
> I want to acquire an persistent zope object (supplier) that is inside my
> productfolder
>
> myproductfolder/supplier
>
> How to get a reference to this object? Also, Is there a method to get the
> product root?
>

context.myproductfolder.supplier?

That's basic acquisition and should be documented in the Zope Book:

<http://www.plope.com/Books/2_7Edition/Acquisition.stx>

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFFgEOjCJIWIbr9KYwRAs/LAJ9ROWS1ArpGH/Mf5+7CesUjXRdGTwCg6U66
BUalSLllgOaxmn4C0kBiCns=
=E1/0
-----END PGP SIGNATURE-----



More information about the Zope mailing list