2 May
2002
2 May
'02
7:50 p.m.
Jeff Kowalczyk writes:
I told you how to define "_allowed_meta_types" on a per instance basis but did not check that "_allowed_meta_types" has the desired effect. When your message above arrived, I tried to find a use of "_allowed_meta_types", but the Zope sources do not reference it. Where do you know about it?
I've been using it in mxmObjectManager derived product classes to limit the Metatype list. ... It works exactly as expected, but it would be very useful to apply this to existing folders which are specialized in purpose, but require no special class of their own. To apply it to existing folder, you need to redefine their "all_meta_types" method - in a similar spirit the "mxmObjectManager" did...
Dieter