|
List Info
Thread: Getting All Properties Std. and Custom
|
|
| Getting All Properties Std. and Custom |

|
2006-08-31 04:21:52 |
Dear all,
In Slide there are some standard properties like
dispalayname,
contentlenght... etc. A user also can make some custom
properties. I user
make custom properties in DAV: namespace then my question
is:-
Is there is any way to get all DAV: properties including
Standard as well as
userdefined properties in the slide.
I ONLY WANT UNIQUE PROPERTIES. means First get STD.
properties i.e. 12-15
and user defined properties , no duplicate. IN ALL THE
RESOURCES.
My motto is , i want to make a combo box to show user all
the properties
avalilbale to him.
Thanks in Advance
--
View this message in context: http://www.nabble.com/Gettin
g-All-Properties-Std.-and-Custom-tf2194348.html#a6072881
Sent from the Jakarta Slide - User forum at Nabble.com.
------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: slide-user-help jakarta.apache.org
|
|
| Getting All Properties Std. and Custom |

|
2006-09-01 19:21:11 |
Aslam Bari schrieb:
> Dear all,
> In Slide there are some standard properties like
dispalayname,
> contentlenght... etc. A user also can make some custom
properties. I user
> make custom properties in DAV: namespace then my
question is:-
Bad idea. Do not put custom properties into the DAV:
namespace.
> Is there is any way to get all DAV: properties
including Standard as well as
> userdefined properties in the slide.
> I ONLY WANT UNIQUE PROPERTIES. means First get STD.
properties i.e. 12-15
> and user defined properties , no duplicate. IN ALL THE
RESOURCES.
> ...
Is this question about the Slide API or WebDAV? In the
latter case, just
check the documentation on PROPFIND in RFC2518.
Best regards, Julian
------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: slide-user-help jakarta.apache.org
|
|
| Getting All Properties Std. and Custom |

|
2006-09-03 06:09:35 |
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 <allprop/> , 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
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.
Julian Reschke wrote:
>
> Aslam Bari schrieb:
>> Dear all,
>> In Slide there are some standard properties like
dispalayname,
>> contentlenght... etc. A user also can make some
custom properties. I user
>> make custom properties in DAV: namespace then my
question is:-
>
> Bad idea. Do not put custom properties into the DAV:
namespace.
>
>> Is there is any way to get all DAV: properties
including Standard as well
>> as
>> userdefined properties in the slide.
>> I ONLY WANT UNIQUE PROPERTIES. means First get STD.
properties i.e. 12-15
>> and user defined properties , no duplicate. IN ALL
THE RESOURCES.
> > ...
>
> Is this question about the Slide API or WebDAV? In the
latter case, just
> check the documentation on PROPFIND in RFC2518.
>
> Best regards, Julian
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
> For additional commands, e-mail: slide-user-help jakarta.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Gettin
g-All-Properties-Std.-and-Custom-tf2194348.html#a6119485
Sent from the Jakarta Slide - User forum at Nabble.com.
------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: slide-user-help jakarta.apache.org
|
|
| Getting All Properties Std. and Custom |

|
2006-09-03 14:23:15 |
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 <allprop/>
, 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
<http://greenbytes.de/te
ch/webdav/draft-reschke-webdav-search-09.html#rfc.section.5.
3>.
Best regards, Julian
------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: slide-user-help jakarta.apache.org
|
|
| Getting All Properties Std. and Custom |

|
2006-09-04 03:11:21 |
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 <julian.reschke gmx.de> 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: slide-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: slide-user-help jakarta.apache.org
---------------------------------
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 |
|
| Getting All Properties Std. and Custom |

|
2006-09-04 09:35:31 |
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:iamaslamok yahoo.co.in]
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 <julian.reschke gmx.de> 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: slide-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: slide-user-help jakarta.apache.org
---------------------------------
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: slide-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: slide-user-help jakarta.apache.org
|
|
| Getting All Properties Std. and Custom |

|
2006-09-04 10:58:34 |
On 9/4/06, aslam bari <iamaslamok yahoo.co.in> 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: slide-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: slide-user-help jakarta.apache.org
|
|
| Getting All Properties Std. and Custom |

|
2006-09-06 03:23:11 |
Ok ,
First of all it is not possible in my program. Because in
my program a user can make a property in only one custom
namespace which is defined by my program and hide from user.
So now there are only two namespace DAV: and my custom
namespace. So, Now i can get standard DAV: properties of a
resource which are not more than 15-16. But what about
custom namespace properties because i don't know on which
resource and by what name and how many properties a user has
given. Help Plz.
Marco Ferretti <marco.ferretti gmail.com> wrote:
On 9/4/06, aslam bari 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: slide-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: slide-user-help jakarta.apache.org
---------------------------------
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 |
|
| Getting All Properties Std. and Custom |

|
2006-09-06 04:55:23 |
On Wednesday 06 September 2006 05:23, aslam bari wrote:
> Ok ,
> First of all it is not possible in my program.
Because in my program a
> user can make a property in only one custom namespace
which is defined by
> my program and hide from user. So now there are only
two namespace DAV: and
> my custom namespace. So, Now i can get standard DAV:
properties of a
> resource which are not more than 15-16. But what about
custom namespace
> properties because i don't know on which resource and
by what name and how
> many properties a user has given. Help Plz.
>
Hi Aslam ,
as Julian already told you, it is not possible to create a
query that filters
by namespace. What you have to do is filter your data
"manually" after the
DASL query's been performed.
Actually, apart from the possibility to create a query that
filters your data
server side ( and which we discovered not being possible) ,
I don't see ( =
understand ) why you need to know the number of custom
properties for each
resource BEFORE parsing the result of the DASL query.
ciao
Marco
--
You are capable of planning your future.
|
|
| Getting All Properties Std. and Custom |

|
2006-09-06 09:21:48 |
Hello Marco, Aslam,
Don't know how I missed Julian's remark on availability
of this kind of
query, so cut out the first part of my previous message,
leaving only second
part, witch would still work although it kind of creepy
(accessing Slide's
meta information DB directly).
Anyway, concerning Marco question transcribed below. From
what I
understood, Aslam wants to know, with one request, every
custom property
defined in the repository. He would next populate a list
with it, so users
could use the same property instead of creating new similar
ones. Means that
the request should be done globally in the repository, and
that's thousands
of documents. Because the query must be done globally, I
would not advise to
make a query for every resource in the repository and then
filter down on
client side (even client side): just imagine matching 100
000 documents,
building a DASL result of it (xml), and then parse it.
Aslam, you could do it easily if you managed the possible
property list
outside Slide (keeping a property name list in a
configuration file or DB,
and then retrieve that information instead of querying
Slide).
Hope this helps,
Miguel Figueiredo
-----Original Message-----
From: Marco Ferretti [mailto:marco.ferretti fermasoft.com]
Sent: quarta-feira, 6 de Setembro de 2006 5:55
To: Slide Users Mailing List
Subject: Re: Getting All Properties Std. and Custom
On Wednesday 06 September 2006 05:23, aslam bari wrote:
> Ok ,
> First of all it is not possible in my program.
Because in my program a
> user can make a property in only one custom namespace
which is defined by
> my program and hide from user. So now there are only
two namespace DAV:
and
> my custom namespace. So, Now i can get standard DAV:
properties of a
> resource which are not more than 15-16. But what about
custom namespace
> properties because i don't know on which resource and
by what name and how
> many properties a user has given. Help Plz.
>
Hi Aslam ,
as Julian already told you, it is not possible to create a
query that
filters
by namespace. What you have to do is filter your data
"manually" after the
DASL query's been performed.
Actually, apart from the possibility to create a query that
filters your
data
server side ( and which we discovered not being possible) ,
I don't see ( =
understand ) why you need to know the number of custom
properties for each
resource BEFORE parsing the result of the DASL query.
ciao
Marco
--
You are capable of planning your future.
------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: slide-user-help jakarta.apache.org
|
|
[1-10]
|
|