Re: [Zope-dev] Turning acquisition off selectively.

2000-12-08 Thread Jim Fulton
Chris Withers wrote: [EMAIL PROTECTED] wrote: That is, with a simple method, and not disabling the Acqusition class, something like self.aq_disabled('attribute') . So kindof the inverse of using Aquisition.Explicit and using the aq_acquire method? What you describe would be really

Re: [Zope-dev] Turning acquisition off selectively.

2000-12-08 Thread matt
Surely you jest ? I may be out of line, I am quite new to Zope and have only made a few python products, but the nice thing I felt Acquisition.Implicit gave was a sense of being able to put a method into an environment and let it "discover" what was around it. Aquisition.Explicit I thought was

[Zope-dev] Turning acquisition off[Zope-dev] Turning acquisition off

2000-12-06 Thread morten
Hi guys, Does anyone know how to disable acqusition ? That is, with a simple method, and not disabling the Acqusition class, something like self.aq_disabled('attribute') . Thanks. -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] Turning acquisition off selectively.

2000-12-06 Thread Chris Withers
[EMAIL PROTECTED] wrote: That is, with a simple method, and not disabling the Acqusition class, something like self.aq_disabled('attribute') . So kindof the inverse of using Aquisition.Explicit and using the aq_acquire method? What you describe would be really cool... The only workaround

Re: [Zope-dev] Turning acquisition off selectively.

2000-12-06 Thread Robin Becker
I'm almost beginning to understand Acquisition. I can see that it's possible to control the things that my class acquires ie import or ancestor acquisition control, but is it possible to control what other classes acquire from me sort of export/descendant control. -- Robin Becker

Re: [Zope-dev] Turning acquisition off[Zope-dev] Turning acquisitionoff

2000-12-06 Thread Ken Manheimer
On Wed, 6 Dec 2000 [EMAIL PROTECTED] wrote: Does anyone know how to disable acqusition ? That is, with a simple method, and not disabling the Acqusition class, something like self.aq_disabled('attribute') . I believe one way is self.aq_base['attribute']. aq_base gets the unwrapped object

Re: [Zope-dev] Turning acquisition off

2000-12-06 Thread Chris Withers
Ken Manheimer wrote: On Wed, 6 Dec 2000 [EMAIL PROTECTED] wrote: Does anyone know how to disable acqusition ? That is, with a simple method, and not disabling the Acqusition class, something like self.aq_disabled('attribute') . I believe one way is self.aq_base['attribute'].

Re: [Zope-dev] Turning acquisition off

2000-12-06 Thread Ken Manheimer
On Wed, 6 Dec 2000, Chris Withers wrote: Ken Manheimer wrote: On Wed, 6 Dec 2000 [EMAIL PROTECTED] wrote: Does anyone know how to disable acqusition ? That is, with a simple method, and not disabling the Acqusition class, something like self.aq_disabled('attribute') . I

Re: [Zope-dev] Turning acquisition off

2000-12-06 Thread Stefan H. Holek
On Wed, 6 Dec 2000 [EMAIL PROTECTED] wrote: Does anyone know how to disable acqusition ? That is, with a simple method, and not disabling the Acqusition class, something like self.aq_disabled('attribute') . Might this be what you are looking for? http://www.egroups.com/message/zope/45049