Hello
I'm trying to get all the documents that list the current document as the
perant using:
List<DocumentReference>  childDocs = doc.getChildrenReferences(xcontext);

where doc is the parent XWikiDocument.

However the function only return an empty list, althoug there is documents
in the space. 

If I print doc.getFullName() its AAA.WebHome.. And all the chldren spaces is
listed under AAA.. how should I reference doc to get say AAA.BBB.WebHome in
the list? or where am I going wrong?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Get-all-children-from-current-document-in-Java-component-tp7597043.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to