-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
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.
- --
===
Tres Seaver +1 540-429-0999 [EMAIL PROTECTED]
Palladion Software Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGCpuq+gerLs4ltQ4RAlHsAJ9Dy6nqW6UhZybFinGD4Gnr4/ix2ACeL1vw
jD0Fx/MS1+1uXOjIsHhgHO8=
=AXLZ
-END PGP SIGNATURE-
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See http://collector.zope.org/CMF for bug reports and feature requests