[Zope] copy paste support - SOLVED

Alexis Roda arv at si.urv.es
Tue Oct 14 03:23:30 EDT 2003

Stefan H. Holek wrote:
> I think you are out of luck because you can only paste things you are 
> allowed to add. See OFS/CopySupport.py for the details.
> Stefan
> --On Montag, 13. Oktober 2003 13:01 +0200 Alexis Roda <arv at si.urv.es> 
> wrote:
>> What's the right way to register the Z*Items so I can copy & paste them,
>> and they don't appear on the global add list?

I've made a very stupid mistake ... the name attrs on all_meta_types 
('Menu Item', 'Submenu Item') don't match the meta_type of Z*Items 
('Simple Menu Item', 'Simple Submenu Item'). I've updated all_meta_types 
and now it works.

Thanks for your help
                                  (@ @)
         Los pecados de los tres mundos desapareceran conmigo.
Alexis Roda - Universitat Rovira i Virgili - Reus, Tarragona (Spain)

More information about the Zope mailing list