8 Mar
2003
8 Mar
'03
5:32 p.m.
--On Samstag, 8. März 2003 17:00 +0100 Steffen Hausmann <steffen@hausmann-family.de> wrote:
On Fri, Mar 07, 2003 at 02:20:37PM -0500, Jens Vagelpohl wrote:
during __init__ your object has no acquisition content. you cannot use acquisition at that point in time.
How can I check (without raising an error) whether an object has an acquisition context or not.
There is no reason to check for the acquisition context. As Jens wrote, the context is not available during __init__(). That's a fact. To perform post-__init__() actions *inside* the acquisition context, you should define your own manage_afterAdd() method. -aj