On Wednesday 20 April 2005 07:01, Florian Lindner wrote:
> when I want to use my own Folder implementation as a homefolder I have two
> possibilities at the moment:
> 1) Disable autoCreate and create the homefolder myself.
> 2) Write a completely own implementation of IHomeFolderManager, use the
> existing code, only change the line self.homeFolderBase[name] = Folder() in
> assignHomeFolder(..) to something which creates my own IContainer
> implementation
> Is this correct?


> My enhancement idea: Make it possible in the utility management site to
> select the object type to create. Just display a list of all classes (or
> all classes derived from IContained) and let the user select one.
> Is this possible to implement?

Of course, you simply have to look up all interfaces that provide IContentType 
and inherit somewhere IContainer. This is pretty easy to do. Then you look up 
factories that will return objects that implement those content types.

Note that the home folder was always just meant to be a demo demonstrating the 

> ATM my knowledge is not sufficient to implement this, so for now I'll go
> the way number 2 and file a collector issue. Maybe I'll be able to do this
> later.
> Ok?


Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to