[Zope] copy paste support

Dylan Reinhardt zope at dylanreinhardt.com
Mon Oct 13 11:53:31 EDT 2003


On Mon, 2003-10-13 at 08:38, 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?


Oops... looks like I misunderstood the question.  Sorry.

If you *want* the add list to reflect something other than what's in
all_meta_types, you can override the manage_main method of your
container and make the add list say whatever you want it to.

HTH,

Dylan




More information about the Zope mailing list