You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by lixin chu <li...@yahoo.com> on 2004/11/13 10:32:33 UTC

proppatchMethod() of a version controlled resource

Hi,
I am trying to write a custom property of a version
controlled resource.

I follow some suggestion that setting 'false' to
auto-version-control and leave blank to auto-version.
In this case, proppatchMethod() will not create a new
version every time. It is so far so good. 

however, once I created a new version of a resource, I
am not able to update the custom property. I always
get 'forbidden' error when using
webdavResource.proppatchMethod()

any idea why ?

thanks
li xin

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: proppatchMethod() of a version controlled resource

Posted by lixin chu <li...@yahoo.com>.
it seems that RFC states that the resource has to be
checked out before the property can be changed. in
which case, a new version will be created in the
following check-in command. 

if this is the case, i do not think there is a
solution  using webdav for my case.

one posibility is to have the custom property stored
somewhere else.


--- lixin chu <li...@yahoo.com> wrote:

> Hi,
> I am trying to write a custom property of a version
> controlled resource.
> 
> I follow some suggestion that setting 'false' to
> auto-version-control and leave blank to
> auto-version.
> In this case, proppatchMethod() will not create a
> new
> version every time. It is so far so good. 
> 
> however, once I created a new version of a resource,
> I
> am not able to update the custom property. I always
> get 'forbidden' error when using
> webdavResource.proppatchMethod()
> 
> any idea why ?
> 
> thanks
> li xin
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> slide-user-help@jakarta.apache.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org