Hi,
thanks a lot for your reply. I tried but it didn't work, do I need to specifically stored the path attribute into the child page's node's property?
This is my code:
Map<String, String> queryMap = new HashMap<String, String>();
queryMap.put("type", "cq:Page");
queryMap.put("path", requestedPage.getPath());
queryMap.put("1_property", "jcr:content/cq:template");
queryMap.put("1_property.value", "xxxxxxx");
queryMap.put("orderby", "@path");
//queryMap.put("orderby.sort", "asc");
requestedPage is my Parent Page which I perform the search for its child page.
Thanks,
Alvin