[Zope-CMF] CMF 1.3 released

Luca Olivetti luca@wetron.es
Wed, 07 Aug 2002 11:35:58 +0200


Tres Seaver wrote:

>     - PortalFolders can now be workflowed and discussed (neither
>       is enabled by default).

Isn't workflow information maintained in the catalog? (and isn't that why PortalFolder 
now inherits from CMFCatalogAware?)
So how's that?

     # Ensure pure PortalFolders don't get cataloged.
     # XXX We may want to revisit this.

     def indexObject(self):
         pass

     def unindexObject(self):
         pass

     def reindexObject(self, idxs=[]):
         pass


This will surely affect classes deriving from PortalFolder *and* PortalContent (like, 
eg, PortalContentFolder which I used as an example to implement my own classes).
Two more methods to remember to override.


Bye
-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004      Fax +34 93 5883007