[Zope-CMF] Re: What's the story for using Z3 content types as
first-class citizens in CMF?
fg at nuxeo.com
Mon Feb 13 09:42:19 EST 2006
Tres Seaver wrote:
>>> Just trying to get an overview - are there any plans or code (CMF 2?)
>>> to make it possible to use Z3 content types as first-class citizens in
>>> CMF? That is, make them available in add menus, make actions/tabs
>>> appear on them, let them use method aliases, make them catalog aware
>>> and so on, without necessarily inheriting from PortalContent.
>>> Alec Mitchell's plone_schemas product lets you use such types in
>>> Plone, though he derives from CMF's PortalContent (as I recall) and
>>> manually constructs an FTI.
>> AFAICS Five content has to inherit from PortalContent and to implement a
>> subset of IDublinCore ('Title', 'Description' and 'Type').
>> At least one FTI is necessary to define a portal type on top of the
>> content type.
> We might add a new TypeInformation derivative, which knows about the
> addable Z3 content.
Or have portal_types.listTypeInfo return also non-persistent TI objects
corresponding to those registered through ZCML.
Florent Guillaume, Nuxeo (Paris, France) Director of R&D
+33 1 40 33 71 59 http://nuxeo.com fg at nuxeo.com
More information about the Zope-CMF