I'm following the instructions in Adding ZClass Instances
Programmatically (http://www.zope.org/Members/taz/addZClasses), but
Zope always returns an error.
Using the code from a DTMLMethod in another ZClass in the same product:
dtml-with manage_addProduct['MyProduct']
dtml-call
Mark James Adams writes:
I'm following the instructions in Adding ZClass Instances
Programmatically (http://www.zope.org/Members/taz/addZClasses), but
Zope always returns an error.
Using the code from a DTMLMethod in another ZClass in the same product:
dtml-with
()
...
newobject.propertysheets.mypropertysheet.manage_changeProperties(props)
# Redirect somewhere or return the object or whatever
HTH
--Gilles
- Original Message -
From: Mark James Adams [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 26, 2002 8:25 PM
Subject: [Zope-dev] problem adding ZClass instances via