Chris O'Connell wrote:
So, I have been playing with the WebdavResource, and it doesn't
> look like there is any way to use that class to do any of the
> labeling/getting that we want to do. I can call the
> 'reportMethod(...)' on the WebdavResource, and it will return
> the path to each version of a file and I can then get that version,
> but I can't figure out how do use the labeling.
I did this by subclassing WebdavResource. I added an instance variable
"private String label;", along with a getter and setter.
Then, I overrode getMethodData() to call
method.setHeader("Label", label);
if label was non-null. Fairly simple.
Though apparently the whole Label thing is a deprecated feature of webdav...
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]