creating instances of products "programmatically"
Hi, I've got a Product question that I just haven't been able to answer using the documentation I can find. I've developed a Product called RDJM_JobImpl following the general procedure in the Developers Guide. The product class is defined so: class RDJM_JobImpl(Implicit,Persistent,RoleManager,ObjectManager) I've got enough stuff working so that I can add the product from the manage screen and the guts of the product itself work swimmingly. What I'd really like to be able to do is create instances of this class programmatically (either through scripts or DTML methods or whatever) instead of through the management interface. This I cannot figure out how to do. Pointers to the appropriate documentation would be greatly appreciated. Thanks, -greg -- greg Landrum (greglandrum@earthlink.net) Software Carpenter/Computational Chemist
greg landrum writes:
... I've developed a Product called RDJM_JobImpl following the general procedure in the Developers Guide. The product class is defined so: ... What I'd really like to be able to do is create instances of this class programmatically (either through scripts or DTML methods or whatever) instead of through the management interface. Read the "ObjectManager" section of
<http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> Sure, the Zope book will say something about this, too. Dieter
participants (2)
-
Dieter Maurer -
greg landrum