[Zope] Setting Default Properties in a Product

Robert_J_Roberts@rl.gov Robert_J_Roberts@rl.gov
Fri, 18 Aug 2000 09:43:29 -0700


I have a product I have created.  

When creating an instance of the product, there are several property field
which I pre-populate with default values.  Those default values are
currently set in my __init__() function.

I would like to allow the users to redefine the defaults at the product
level.

How do I add a default properties page to my product so the user can set
them in /root/Control_Panel/Products/{MyProduct} so that each new instance
of that products uses their defaults and not my hard-coded defaults?

Robert J. Roberts
robert_j_roberts@rl.gov