[Zope] un-renamable objects

Florent Guillaume fg@nuxeo.com
Fri, 27 Sep 2002 17:13:11 +0000 (UTC)


> How do I make an object un-renameable? I'm developing a product where a 
> certain object has a "forced" id, ie. you can only enter a suitable title 
> when creating an instance.
> The object uses OFS.Folder.Folder as base class.

Define a _canCopy method. See lib/python/OFS/CopySupport for more about
its signature and return value.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com