[Zope] Create ZClass instance from python
Hans N. Beck
HNBeck@t-online.de
Tue, 6 Nov 2001 22:37:03 +0100
Hi,
I've created a product ("myItem"), containing a
zclass "ItemType" with base class objectmanager.
The python code is like this (got from some internet sources):
context.manage_addProduct('myItem').ItemType_add(_.None,_, Redir=1)
By executing the code there comes the error: "ItemType not defined".
????????
Anyone may help me ? Thanks !!!
Grettings
Hans
-----------------------------------
Dipl.-Ing. Hans N. Beck
Waldstr. 28 75045 Walzbachtal
Tel: 07203/922280
Mobil: 0177/5383233
-----------------------------------