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. Peter --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.391 / Virus Database: 222 - Release Date: 2002-09-19
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
participants (2)
-
Florent Guillaume -
Peter Bengtsson