jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@day.com>
Subject Re: jcr-server webapp PROPFIND/PROPPATCH support
Date Thu, 21 Jul 2005 10:07:03 GMT
Brian Moseley wrote:
> Brian Moseley wrote:
> 
>> my understanding is that you should be able to set arbitrary 
>> properties on any resource that advertises support for PROPPATCH. but 
>> i might be wrong :)

SHOULD :)

> furthermore, what's your take on PROPPATCHing the DAV:displayname 
> property? it's not possible at the moment, but it seems like a standard 
> operation that any webdav client would expect to be able to do. i don't 
> believe that's a protected property.

sure, its not protected.

rfc says:

"Execution of the directives in this method is, of course, subject to 
access control constraints. DAV compliant resources SHOULD support the 
setting of arbitrary dead properties."

the name of the underlaying repository item cannot be altered, so
i think its fine that PROPPATCH for this fails.

i suggest to add all jcr-properties present on the underlaying
resource to the set of dav-properties present on the resource and
an attempt to call setProperty on the simple DavResource will try
to set them... so it would be possible to use the PROPPATCH with
the given implementation... i will do that.

regards
angela

ps: "DAV:" is defined to be the namespace uri.. not the prefix.
     thats what i attempted to write before.... ;)




Mime
View raw message