[Zope] ObjectManager question.

Tom Cameron tom@cameron.to
Sat, 8 Sep 2001 12:16:41 +1000


I recommend subclassing off both the Object Manager and the Folder. 
You get the look of a folder and the ability to control the objects in it. 
I find this workd best if you do the correct order "ObjectManager, Folder"

Tom

=> -----Original Message-----
=> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
=> giovanni@simplesky.com
=> Sent: Saturday, 8 September 2001 7:47 AM
=> To: zope@zope.org
=> Subject: [Zope] ObjectManager question.
=> 
=> 
=> Hi people, I just started playing with python products, and
=> I have a question that I can't seem to solve:
=> 
=> I have a class derived from ObjectManager, how do I
=> create a "Contents" tab, so that it looks like a folder
=> and lets the user put other objects in it?
=> What do I have to put in the manage_options?
=> 
=> I guess there is something already defined for this,
=> but I can't find it in the docs.
=> 
=> Thanks!!!!
=> 
=> 
=> |G|
=> 
=> 
=> _______________________________________________
=> Zope maillist  -  Zope@zope.org
=> http://lists.zope.org/mailman/listinfo/zope
=> **   No cross posts or HTML encoding!  **
=> (Related lists - 
=>  http://lists.zope.org/mailman/listinfo/zope-announce
=>  http://lists.zope.org/mailman/listinfo/zope-dev )
=>