2010/7/29 Federico Paparoni <[email protected]>
> Hi all,
>
> I easily put my contents under path like this
> http://localhost:8080/content/david/2010/07/25/example.html
>
> but I don't really understand how can I create a query to search a property
> on all the children of my application root node.
> I tried some XPATH queries but probably there is something I don't
> understand.
> Can someone help me with this issue?
>
> Bye
>
> --
> Federico
>
I solved the issue using the next query
var query =
queryManager.createQuery("/jcr:root/content/david/*/*/*/element(*,
nt:unstructured) order by @created descending", "xpath");
because all my nodes are like /YEAR/MONTH/DAY/entry. But If I want to make a
full search on every children?
--
Federico