[Zope] python product - newbie

Dieter Maurer dieter@handshake.de
Wed, 21 Jun 2000 22:22:20 +0200 (CEST)


Bak @ kedai writes:
 > i'm messing around with Boring product, and now wants to do more.  i have
 > problems when i got more than one class in a product.  this is what i wanted to
 > do.
 > 
 > create a guestbook (what else :)) product. GB.py with two classes - GB and
 > GBitem.  i can now load GB product, but can't add GBitem.  what do i need to do
 > to get the 'Add' selection box?
You probably have only registered one of the classes as meta types.

Have a look at "Products/ZSQLMethods/__init__.py".
It registers two classes "Z SQL Methods" and "Z Search Interface".

There should be a Product API Guide somewhere on zope.org.
That's the documentation, that may help you.


Dieter