There is $doc.getLinkedPages() currently which searches for links using
regexp. You need a quary for the child pages: "where
doc.parent='$doc.fullName'"
We are finishing the work on the backLinks module which will provide
both a getLinks() and getBackLinks() api in Document. The links will be
saved to an additional table in the database when the document is modified.
Ludovic
Duke Tantiprasut wrote:
Does anyone have an example of how to list all
references to a page? or
perhaps all child to a parent?
Thanks.
Duke
------------------------------------------------------------------------
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
Ludovic Dubost
XPertNet:
http://www.xpertnet.fr/
Blog:
http://www.ludovic.org/blog/
XWiki:
http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic