[Zope-CMF] Portal Folder's timestamps

Florent Guillaume fg@nuxeo.com
Mon, 28 Apr 2003 21:36:06 +0200


In article <OE20ZxNIeA8UJ4Epktk0000162c@hotmail.com> you write:
> Has anyone else needed to store a portal folder's creation date? How did you
> sorted this out? I'm in the need to keep at least its creation date, and
> I've chosen to modify PortalFolder.py to store the creation and modification
> time, so that they could be able to be sorted by those timestamps when
> displayed in any folder contents display.
> 
> While it possibly doesn't make sense to let a regular core folder to inherit
> all of DublinCore's elements, should you consider to allow the creation and
> modification dates, for the next 1.4 release? IMHO those two are
> implementation-agnostic enough, and shouldn't be dependable on any metadata
> set.

I think the usual answer to this is "PortalFolder is not designed to be
content". It's simply designed to hold subobjects, period. If you want
more, use a mix of SkinnedFolder and PortalContent.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com