CMF Question - Is it possible to have Catalog-Aware folderish product?
I have been trying to create a folderish cmf product which is catalog aware without much luck. Is it possible to do? The new class inherits another folderish product class along with, PortalFolder, PortalContent, DefaultDublinCoreImpl. I have not been able to make the folderish product catalog aware with any of these parent classes in any order. I have also tried skinnedFolder. PortalContent seems to remove the folderish behavour depending on where it is in the "class( parent classes ):" line up. I thought PortalFolder was the answer but that hasn't helped either. What I would like to do, is be able to have new folderish instances catalog automatically when any copy/cut/paste or delete action is done. Any ideas or help on where I am going wrong would be much appreciated. (Running zope 2.5.1 / python 2.1.3 / win2000) Thanks Steve.
use skinned folder as your first base class. it does the proper inheritance for a catalog aware folder. -kapil On Friday 02 August 2002 01:41 pm, Steve Nicholson wrote:
I have been trying to create a folderish cmf product which is catalog aware without much luck. Is it possible to do? The new class inherits another folderish product class along with, PortalFolder, PortalContent, DefaultDublinCoreImpl. I have not been able to make the folderish product catalog aware with any of these parent classes in any order. I have also tried skinnedFolder. PortalContent seems to remove the folderish behavour depending on where it is in the "class( parent classes ):" line up. I thought PortalFolder was the answer but that hasn't helped either. What I would like to do, is be able to have new folderish instances catalog automatically when any copy/cut/paste or delete action is done.
Any ideas or help on where I am going wrong would be much appreciated.
(Running zope 2.5.1 / python 2.1.3 / win2000) Thanks Steve.
Only in CMF 1.3. For CMF 1.2 you may want to use my PortalContentFolder. Florent kapil thangavelu <kthangavelu@earthlink.net> wrote:
use skinned folder as your first base class. it does the proper inheritance for a catalog aware folder.
-kapil
On Friday 02 August 2002 01:41 pm, Steve Nicholson wrote:
I have been trying to create a folderish cmf product which is catalog aware without much luck. Is it possible to do? The new class inherits another folderish product class along with, PortalFolder, PortalContent, DefaultDublinCoreImpl. I have not been able to make the folderish product catalog aware with any of these parent classes in any order. I have also tried skinnedFolder. PortalContent seems to remove the folderish behavour depending on where it is in the "class( parent classes ):" line up. I thought PortalFolder was the answer but that hasn't helped either. What I would like to do, is be able to have new folderish instances catalog automatically when any copy/cut/paste or delete action is done.
Any ideas or help on where I am going wrong would be much appreciated.
(Running zope 2.5.1 / python 2.1.3 / win2000)
-- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com
participants (3)
-
Florent Guillaume -
kapil thangavelu -
Steve Nicholson