[CPS-devel] ContentClass for a flexible_type document

Julien Anguenot ja at nuxeo.com
Tue May 2 13:46:17 CEST 2006


Hi,

Joachim Schmitz wrote:
> for my product I have many flexible_types for which I want to have 
> ContentClasses. For a documentish type I write for example:
> 
> class Faculty(CPSDocument)
> 
> what do I inherit from, if I want a btreefolderish document.

Depends on you use case. What do you want to be Folderish ? The proxy or 
the content object within the repository ?

If you're looking for BTree behavior on the proxy that's easy : inherit 
from CPSDocument and specify in the FTI of your content type a 
BTreeFolder proxy type.

If you want the content object to be BTree folderish then you need to 
inherit from CPSDocument and BTreeFolder2base (or CMFBTreeFolder).

[...]

	J.


-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66


More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.