Andy McKay wrote:
> Take a look at FSPoll which has sort of structure...
> 
> > You may have to do somethign funky if you want to limit the types of
> object that
> > appear in the 'Add' list of your new classes. I have no idea how to do
> that :-S
> 
> I did that in FSPoll just last night. Basically overrode
> filtered_meta_types, and iterated through the tuple of objects, discarding
> ones I dont want, keeping the ones I do. I was hoping to do a how to in the
> next day or so.

If you have a specific set of meta types that are allowed, then set the
all_meta_types attribute on the class.


   Richard

-- 
Richard Jones
[EMAIL PROTECTED]
Senior Software Developer, Bizar Software (www.bizarsoftware.com.au)

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to