[Zope-CMF] Cataloging folder-based types
Florent Guillaume
fg@nuxeo.com
7 Nov 2001 16:21:46 GMT
You might want to use my (very simple) PortalContentFolder.
See http://www.zope.org/Members/efge/PortalContentFolder
All comments welcome.
-- Florent
Joćo Neves <joao@fabricadeideias.com> wrote:
> Hi all,
>
> I created a z-class based on the Portal Folder type which needs to be
> indexed in our portal catalog. In order to index it, I added a method
> 'indexObject' to which I refer whenever necessary which also works
> great. The problem is that I can't unindex an instance whenever I delete
> an object. I've tried to create a 'manage_beforeDelete' method, which
> didn't work, I've tried altering the folder_delete method, I basically
> ran out of ideas. The type must derive from Portal Folder, since I need
> those characteristics (folderish, but with some added properties, views
> and methods).
>
> Any ideas on how to unindex my z-class upon deletion are highly
> appreciated!!
>
> TIA,
>
> -------------------------------------------
> Joćo Neves
> joao@fabricadeideias.com
> Fabrica de Ideias
> SBS - Ed. Empire Center - bl. S - sala 508
> cep 70070-904 - Brasilia - DF - Brazil
> tel: (61) 321 1357
> fax: (61) 223 1712
> -------------------------------------------
--
Florent Guillaume, Nuxeo SARL (Paris, France)
+33 1 40 33 79 10 http://nuxeo.com mailto:fg@nuxeo.com