Re: [Zope-dev] Custom class: cut,copy,rename?

2004-03-04 Thread Kapil Thangavelu
On Mon, 2004-03-01 at 13:59, Ian Beatty wrote: Greetings. I've created a package in Python with some basic classes. They work in the ZMI, except for the fact that the ZMI paste and rename functionality fails with the message The object xxx does not support this operation. I've dug into

[Zope-dev] Custom class: cut,copy,rename?

2004-03-01 Thread Ian Beatty
Greetings. I've created a package in Python with some basic classes. They work in the ZMI, except for the fact that the ZMI paste and rename functionality fails with the message The object xxx does not support this operation. I've dug into the source code for standard types ('OFS.Folder',

Re: [Zope-dev] Custom class: cut,copy,rename?

2004-03-01 Thread Chris Withers
Ian Beatty wrote: OFS.ObjectManager.ObjectManager Products.ZCatalog.CatalogPathAwareness.CatalogAware OFS.PropertyManager.PropertyManager OFS.SimpleItem.SimpleItem I'm pretty sure all you should actually need is: OFS.ObjectManager.ObjectManager

Re: [Zope-dev] Custom class: cut,copy,rename?

2004-03-01 Thread Max M
Ian Beatty wrote: Am I not inheriting from the proper set of base classes? Is there an easier way? According to the ZDG (2.4 edition, vs. my Zope 2.7), OFS.SimpleItem.Item (subclassed by OFS.SimpleItem.SimpleItem) is supposed to provide cut-and-paste functionality. So, how might I be