I think you need to define the nodetype you like to get back. To get
exactly the found nodes use 'nt:base'. Default is mgnl:content.
This is because the getContent method does crawl up until a node of
this type is found. This is used to search in the website tree where
you probably find the text in some subnodes(paragraphs), but where
you like to get the pages returned.
Under the menupoint tools you find a util to test queries.
Philipp Bracher
On Sep 26, 2006, at 7:18 AM, John Mettraux wrote:
Hi List,
I'm currently struggling with a Magnolia/JCR repository in order to
iterate over its content.
It's around line 372 of that piece of code :
http://openwfe.org/JCRExpressionStore.java
I can't grab any content even though there are actually 3 launched
workflows. The query.getContent().getSize() always returns 0.
I'm sure it's something simple.
The rest of the code works fine.
Thanks in advance for the help,
--
John Mettraux -///- http://jmettraux.openwfe.org
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------