[Zope-dev] Replaceable types?

Chris Withers chrisw@nipltd.com
Sun, 17 Mar 2002 09:45:52 +0000


Ivo van der Wijk wrote:
> 
> First of all, is allow_dup ever set to true? 

Probably

> Does zope support
> duplicate id's in an ObjectManager anywhere at all?

Definitely

> Secondly, can someone give me an example of a Replaceable object?

If a class defines a PUT_factory method, this may be set as replaceable so that
someone can override it by dropping a Python Script or External Method called
'PUT_Factory' into the ObjectManager.

This is the case for the CVS version of the Skins tool in CMF...

cheers,

Chris