[Zope] ZClasses derived from ObjectManager and Factories
Michel Pelletier
michel@digicool.com
Mon, 10 May 1999 13:54:51 -0400
> -----Original Message-----
> From: Martijn Pieters [mailto:mj@antraciet.nl]
> Sent: Monday, May 10, 1999 10:54 AM
> To: Zope Mailinglist
> Subject: [Zope] ZClasses derived from ObjectManager and Factories
>
>
> This is more a question for DC than for the list:
>
> Will it be possible in the future to limit in what places
> users can add
> ZClass instances? I have one ZClass derived from
> ObjectManager, let's call
> it Container, and another called Element, a simple object,
> and I want to be
> able to add instances of Element to Container, but not to any other
> ObjectManager derived objects (including Folders). Right now,
> this means I
> have to provide an alternative to manage_main..
Here's a hint, Put a ZClass in another ZClasses method tab, create a
constructor, and hange munge the Add select box for your Parent ZClasses
manage_main (or whatever).
-Michel
>
> --
> Martijn Pieters, Web Developer
> | Antraciet http://www.antraciet.nl
> | Tel: +31-35-6254545 Fax: +31-35-6254555
> | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
> | PGP:
> http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
> ------------------------------------------
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>