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
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel