Hi,
You can use the XWikiContext instance and set a property to signal
recursive EventListeners to not handle the deletion of the child pages.
(i.e. if the property is set in the context, do nothing, otherwise delete
the children of the currently deleted documet and set the context property).
Hope this helps,
Eduard
On Thu, Aug 6, 2015 at 11:42 AM, Peter Huisman <p.huisman(a)ximm.nl> wrote:
Hi,
I am looking for a solution to “automatically” delete children for a XWiki
page using the DeleteEvent listener. Is there a way to prevent recursion
when deleting such a child XWiki page from a Java lib?
Thanks for your feedback,
Peter
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users