[Zope] Create objects of MyClass

Chris Withers lists at simplistix.co.uk
Mon Mar 15 05:23:30 EST 2004


(please stop posting in html)

Serg wrote:

> I can add objects of MyClass through ZMI.
> How can I add some object through my own interface: for example, on 
> button click on DTML form?

Have that form submit to a python script and do something like:

context.manage_addProduct['Your Product Name'].manage_addMyClass(id,None)

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk




More information about the Zope mailing list