Am 30.10.2007 um 17:40 schrieb Wichert Akkerman:

__init__ is indeed the wrong place: when the instance is created it is
not placed in an acquisition context yet.

That would indeed explain things!!! Is it okay to call a method which does this from __init__ ?

    def __init__(self, id):
        self.id = id
        self.set_connection()

    security.declarePublic('set_connection')
    def set_connection(self):
        DA = (self, 'myDA', None)

This is also not working. :-/

Thanks very much for your help.

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226



_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to