[Zope-dev] Local Factories in Products
Michael Bernstein
webmaven@lvcm.com
Wed, 03 Jan 2001 01:10:12 -0800
Shane Hathaway wrote:
>
> Itamar Shtull-Trauring wrote:
> >
> > Chris Withers wrote:
> >
> > > > In ZClasses it is possible to control where a ZClass instance
> > > > should be permitted to be added, in other words show up
> > > > in the factory listing in a ObjectManagers manage_main view.
> > >
> > > Didn't Itamar have a proposal/project on this?
> >
> > It's still unimplemented - you can view the details at
> > http://dev.zope.org/Wikis/DevSite/Proposals/RestrictedCreation, and there's
> > some implementation suggestions from Jim Fulton in the discussion area.
>
> I think the point was missed slightly in the discussion. Right now
> containers can limit what kinds of objects they can contain. It should
> also be possible for objects to limit what kinds of containers can
> contain them.
Ah! That would be a very simple and elegant way of
eliminating 'add-dropdown-box pollution', among other
advantages.
An excellent proposal, indeed.
Michael Bernstein.