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 sc...@financial.com on 2004/08/12 10:18:26 UTC

Re: How to find out about roles (see 16.-19. July) still no solution

Hi Ingo,
Hm, when I use a property that works (e.g. "displayname") it makes no
difference wheither I add "DAV:" or not. Both work fine.
What exactly do you mean by "or better use a PropertyName" ?
Isn't "group-member-set" a property name?
I'm not so familiar with the expressions used when talking about slide and
webdav.

Regards,
Frank


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


Re: How to find out about roles (see 16.-19. July) still no solution

Posted by Carlos Villegas <ca...@uniscope.jp>.
schmaus@financial.com wrote:

>Hi Ingo,
>Hm, when I use a property that works (e.g. "displayname") it makes no
>difference wheither I add "DAV:" or not. Both work fine.
>What exactly do you mean by "or better use a PropertyName" ?
>Isn't "group-member-set" a property name?
>I'm not so familiar with the expressions used when talking about slide and
>webdav.
>
>  
>
One thing I noticed in WebdavResource is that at least one of the 
propfindMethod 's returns return an enumeration of 
Property.getPropertyAsString() instead of Property objects or Responses. 
Depending on the property type, the client lib returns a different 
Property class that may not get handled correctly by converting it to 
String.  I ended up subclassing  WebdavResource and implementing my 
version of propfindMethod the returns a list of Property objects, which 
I think is better.

Well, that might not be the case here. You may modify WebdavResource or 
subclass it and print out the raw request and response from the server 
or use a TCP monitor as suggested.

Carlos

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


Re: How to find out about roles (see 16.-19. July) still no solution

Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
Ah, I see the problem is the bad documentation of the methods in
WebdavResource.

I meant you should create a 'new PropertyName("DAV:", "group-member-set")',
put that into a Vector "propVec" and then call
propfindMethod(DepthSupport.DEPTH_0, propVec). This should yield
something you can work with. If unsure search the archive for a code
snippet I posted a few days ago for finding out if a resource is
checked-out.

Regards,
Ingo

> Hi Ingo,
> Hm, when I use a property that works (e.g. "displayname") it makes no
> difference wheither I add "DAV:" or not. Both work fine.
> What exactly do you mean by "or better use a PropertyName" ?
> Isn't "group-member-set" a property name?
> I'm not so familiar with the expressions used when talking about slide and
> webdav.
> 
> Regards,
> Frank


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