[Zope] creating instances of products "programmatically"

greg landrum greglandrum@earthlink.net
20 Feb 2002 18:43:37 -0800


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