[Zope] Factory location and Add box pollution

Stefan H. Holek stefan@epy.co.at
Mon, 27 Nov 2000 14:38:42 +0100 (CET)


I want to create a folderish ZClass to contain all my
project specific ZClasses. The idea is to only have them show up
when inside my projectfolder. Just like the ZClass object only
shows up inside a product's folder.

Well, when I derive from OFS:Folder I do get all the global stuff, but
_not_ my included ZClasses in the Add box. OTOH, deriving from
ZClasses:ObjectManager gives me my ZClasses, but _not_ the global
objects (DTML Methods, ...)

Deriving from _both_ gives me the behavior of whichever was named first.

I have seen the LocalFactory product, but this would force me to move
the factories and constructors out of my ZClasses. Its very existance
though might mean what I want is impossible :( 

Lost,
Stefan

--
Things work better when plugged in