RE: Getting All Properties Std. and Custom

2006-09-04 Thread Miguel Figueiredo

Hello Aslam,

 I believe it's possible, but not sure, that DASL supports your query
(Julian is the expert there). And it doesn't need to be very performance
expensive if you activate slide's integrated indexing. You can find some
instructions for that in here:

http://wiki.apache.org/jakarta-slide/DaslConfiguration 

 The link also suggests another option, witch would be accessing the
metainformation database directly, and perform your 'DISTINCT' sql query.

Hope this helps,
Miguel Figueiredo


-Original Message-
From: aslam bari [mailto:[EMAIL PROTECTED] 
Sent: segunda-feira, 4 de Setembro de 2006 4:11
To: Slide Users Mailing List
Subject: Re: Getting All Properties Std. and Custom

Hi Julian,
  I think you are not getting my point. Let me explain what i need:-
   
  I want to make a List Box on a form which will show all the properties
available in slide for all resources. We know some STD. properties like
displayname, contentlenght etc, they should come in List Box. If other user
have added their properties, they should also come in  the List Box. May be
some users made property with same name. But In List Box Property names
should come only one time no duplicate means (Unique).
   
  How can i achive this? If i use allProp that is very expensive by the
performance point of view. I have found a solution. I first Add All the STD.
property in List Box that will be 15 or 16. And tell user to add their
CUSTOM property in different namespace. But now how can i propfind allprop
in that custom namespace.
   
  Now i hope for the positive response.
  Thanks in advance.

Julian Reschke <[EMAIL PROTECTED]> wrote:
  Aslam Bari schrieb:
> Hi Julian, Thanks for reply.
> 
> I am making cusotm properteis using DAVExplore and now i am making the
> properties in "CUSTOM:" namespace. Now the questions are:-
> 
> 1.) I am giveing propfind method with , it is giving me all the
> properteis of all the resources. The properties names like displayname,
> creationdate .. repeated for every resource. But i want only to get unique
> names of properties. If i am giving this request, then it is performance

What do you mean by "unique" names?

> issue and very havy. Is not there is a way to get all unique properties
> names.
> 
> 2.) How to search or get allprop in my Custom namespace.

You can select properties by property names, but that doesn't allow 
wildcards (such as all properties in a certain namespace). See 
.

Best regards, Julian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
 Here's a new way to find what you're looking for - Yahoo! Answers 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get
it NOW


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Getting All Properties Std. and Custom

2006-09-04 Thread Marco Ferretti

On 9/4/06, aslam bari <[EMAIL PROTECTED]> wrote:

Hi Julian,
  I think you are not getting my point. Let me explain what i need:-

  I want to make a List Box on a form which will show all the properties 
available in slide for all resources. We know some STD. properties like 
displayname, contentlenght etc, they should come in List Box. If other user 
have added their properties, they should also come in  the List Box. May be 
some users made property with same name. But In List Box Property names should 
come only one time no duplicate means (Unique).

  How can i achive this? If i use allProp that is very expensive by the 
performance point of view. I have found a solution. I first Add All the STD. 
property in List Box that will be 15 or 16. And tell user to add their CUSTOM 
property in different namespace. But now how can i propfind allprop in that 
custom namespace.


Hi Aslam,

let me see if I get your question :
you have a property named displayname in a namespace that's not the
default, let's say FOO. Then, in you r application, you have a listbox
that lists all the properties without showing the namespace, hence
displayname would be duplicated. What you need is that your
application shows only one displayname, the one that refers to FOO.

If I get your point :
you need to filter the properties after the DASL query ( I don't rekon
it is possible to creeate a query that filters on namespaces but I may
be wrong here ) .

Question : what should happen if there are three or more instances of
displayname and different namespaces ?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]