[Zope-CMF] Creating a new object type
Chris Withers
chrisw@nipltd.com
Mon, 10 Mar 2003 11:00:41 +0000
David Cain wrote:
> So:
> How do I add the additional data types?
I prefer to create them using Scriptable Type Information objects and adding new
fields using manage_addProperty in the ceration script.
> How do I create a context.edit() method that will submit the data to the
> object?
...this is just a skin method. You customise the method that already exists for
the type you're basing your new type on and add calls to
manage_(change|edit)?Properties as needed.
cheers,
Chris