Am Montag, 22. Januar 2007 09:40 schrieb FB: > Hi, > > On Mon, Jan 22, 2007 at 08:32:21AM +0100, Christian Theune wrote: > > [snip] > > > You'd have to open a connection to the database, get the root object and > > use that with setSite(). I don't have the complete spelling for that in > > my head though. > > db = zapi.getUtility(IDatabase) > conn=db.open() > root=conn.root().data['Application']
Thanks, this way it works! Regards, Florian _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users