[Zope-dev] Excluding meta_types

Ender kthangavelu@earthlink.net
Sun, 22 Oct 2000 12:00:49 -0700


you can redefine the meta_types tuple like so
meta_types=({'name':'MessageFilter',
'action':'manage_addMessageFilter'},)

btw how is GUM going?

kapil


"Morten W. Petersen" wrote:
> 
> When I'm building a class which inherits from the OFS.Folder.Folder, how
> do I exlude the meta_types it brings with it (if it's there they come
> from).
> 
> In other words, if I have a class, with meta_type 'MessageFilterFolder',
> which should only be able to contain instances of meta_type 'MessageFilter',
> what do I do (i.e. exlude all the other meta_types)?
> 
> Thanks in advance.
> 
> -Morten
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )