[Zope-dev] problem adding ZClass instances via DTML

2002-02-26 Thread Mark James Adams
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

Re: [Zope-dev] problem adding ZClass instances via DTML

2002-02-26 Thread Dieter Maurer
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

Re: [Zope-dev] problem adding ZClass instances via DTML

2002-02-26 Thread Gilles Lenfant
() ... 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