10 Apr
2001
10 Apr
'01
9:18 a.m.
Steffen Bergmann wrote:
Hello!
I have created a new Product with my own ZClass to define my own type of folder. This ZClass has "ZObject" and "ZFolder" as base classes. Everything is working great but I can“t do "Cut, Copy, Paste or Rename" with instances of these ZClass. What is the problem. ZOPE says "The object xyz does not support this operation". What can I do?
Make sure the 'Add list name' in your factory is identical to your zclass meta_type. There are the same by default but if you changed the meta_type after creating the zclass you need to adjust both. The factory 'list name' is used by the copy/paste code (which I found by putting print statements in the zope source code!) Hope this helps, Ivan