Re: [xwiki-users] Recursion during deleteEvent

2015-08-08 Thread Eduard Moraru
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). Hop

[xwiki-users] Recursion during deleteEvent

2015-08-06 Thread Peter Huisman
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 m