I’m using JRA to fetch content based on search criteria such as content folder, content type, etc. I notice the JRA call to fetch collections does not return the entire list of collection in a given content folder. For instance, if my content setup as below:
.. \files\default.preview\content\salesdocs .. \files\default.preview\content\salesdocs\accounts .. \files\default.preview\content\salesdocs\howtos .. \files\default.preview\content\salesdocs\products The FetchCollection JRA call retrieves only the products folder, but skip the rest. I’ve pasted the DASL query that I used to retrieve the collections <DAV:searchrequest xmlns:DAV="DAV:" xmlns:s="http://jakarta.apache.org/slide/" xmlns:h="http://hippo.nl/cms/1.0"> <DAV:basicsearch> <DAV:select> <DAV:allprop/> </DAV:select> <DAV:from> <DAV:scope> <DAV:href>salesdocs</DAV:href> <DAV:depth>1</DAV:depth> <s:minimum-depth>infinity</s:minimum-depth> </DAV:scope> </DAV:from> <DAV:where><DAV:and><DAV:is-collection/></DAV:and></DAV:where> <DAV:orderby> <DAV:order> <DAV:prop><h:index/></DAV:prop> <DAV:ascending/> </DAV:order> </DAV:orderby> </DAV:basicsearch> </DAV:searchrequest> If any thoughts, please let me know. -- View this message in context: http://www.nabble.com/Question-On-Java-Repository-Adapter-API-tp23290359p23290359.html Sent from the Hippo CMS development public mailinglist mailing list archive at Nabble.com. ******************************************** Hippocms-dev: Hippo CMS development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
