You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Michael Shoener <ms...@softwareapps.net> on 2009/09/09 19:16:51 UTC

Searching on mixin property value

Is there any way to search on the value of a specific mixin property that is
applied to a jcr:content node?

I have the following custom mixin defined:

	<hfs = "http://www.someurlgoeshere.net">
	[hfs:file] > nt:unstructured
	mixin
	- hfs:description (STRING)
	- * (STRING) multiple



Best Regards,

Michael Shoener
Support Staff
Software Application Services, Inc.



RE: Searching on mixin property value

Posted by Michael Shoener <ms...@softwareapps.net>.
Thanks, that works.  I thought I tried that but I guess I was wrong.


Best Regards,

Michael Shoener
Support Staff
Software Application Services, Inc.


-----Original Message-----
From: mreutegg@day.com [mailto:mreutegg@day.com] On Behalf Of Marcel
Reutegger
Sent: Friday, September 11, 2009 10:36 AM
To: users@jackrabbit.apache.org
Subject: Re: Searching on mixin property value

Hi,

On Wed, Sep 9, 2009 at 19:16, Michael Shoener <ms...@softwareapps.net>
wrote:
> Is there any way to search on the value of a specific mixin property 
> that is applied to a jcr:content node?

something like:

//element(*, hfs:file)[@hfs:description='foo']

?

regards
 marcel

> I have the following custom mixin defined:
>
>        <hfs = "http://www.someurlgoeshere.net">
>        [hfs:file] > nt:unstructured
>        mixin
>        - hfs:description (STRING)
>        - * (STRING) multiple
>
>
>
> Best Regards,
>
> Michael Shoener
> Support Staff
> Software Application Services, Inc.
>
>
>


Re: Searching on mixin property value

Posted by Marcel Reutegger <ma...@gmx.net>.
Hi,

On Wed, Sep 9, 2009 at 19:16, Michael Shoener <ms...@softwareapps.net> wrote:
> Is there any way to search on the value of a specific mixin property that is
> applied to a jcr:content node?

something like:

//element(*, hfs:file)[@hfs:description='foo']

?

regards
 marcel

> I have the following custom mixin defined:
>
>        <hfs = "http://www.someurlgoeshere.net">
>        [hfs:file] > nt:unstructured
>        mixin
>        - hfs:description (STRING)
>        - * (STRING) multiple
>
>
>
> Best Regards,
>
> Michael Shoener
> Support Staff
> Software Application Services, Inc.
>
>
>