-----BEGIN PGP SIGNED MESSAGE-----
Dieter Maurer wrote:
> Charlie Clark wrote at 2007-3-27 13:28 +0200:
>> having made my own content type which is derived from Document with
>> three additional attributes, I've moved onto the exciting world of
>> editing content via webDAV. It seems some methods have to be extended/
>> overwritten for this to work so I have added customised versions of
>> the following
>> getMetadataHeaders() # Document.py
>> setMetadata() # Document.py
>> getMetadataHeaders() # DublinCore.py
>> _editMetaData() # DublinCore.py
>> Is this a correct assumption?
> I would be quite surprised if these methods had much to do
> with WebDAV editing. Instead, I would look for "PROPPATCH"
> (and how it is implemented).
The methods Charlie lays out are used to "crack" metadata from the body
of a content object (Document, NewsItem, Event) during a PUT. PROPPATCH
would indeed be the way to modify the values without re-uploading the body.
Tres Seaver +1 540-429-0999 [EMAIL PROTECTED]
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v126.96.36.199 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Zope-CMF maillist - Zope-CMF@lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests