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
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
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]
[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
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
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
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'].
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
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