From: Robert Sander [mailto:gurubert@gurubert.de]
On Thu, Feb 10, 2000 at 05:57:37PM -0600, Tres Seaver wrote:
You should be able to do the same::
OFS.Application.Application.theORB = CORBA.orb_init( sys.argv ) # or whatever
Hm, that does not work. I fI do this in the __init__.py of my product, my entire ZOPE system is not working any more. Should the object be pickable? Or should that only be done when instantiating an object from my product?
The ZopeStudio method is not applied in __init__.py, but in the module itself. I import the Application module, and modify the class. Not recommended for objects, only for new class methods. See my other reply for a better method. -- Martijn Pieters, Software Engineer | Digital Creations http://www.digicool.com | Creators of Zope http://www.zope.org | mailto:mj@digicool.com ICQ: 4532236 | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 -------------------------------------------
participants (1)
-
Martijn Pieters