Thank you Matthias! I know it wasn’t intentional but I am working on a similar issue and your code example was extremely useful.
Regards, Jesse Bright > On Mar 25, 2016, at 3:10 PM, Matthias Wegner <mic.mat.weg...@web.de> wrote: > > Hi Vincent, > > thanks, now it is clear and works. But i used a query like > > #set($hql = "where doc.parent='Book.WebHome' and not > doc.name='WebPreferences' order by doc.title asc") > #set($chapters = $xwiki.searchDocuments($hql, 0, 0)) > > to get all Documents in den Space "Book" (old model). It shows all > documents, even the nested ones. How can i query recursively starting > with the parent document "Book.WebHome"? > > Regards, > Matthias > > > > Am 25.03.2016 um 14:17 schrieb vmassol [via XWiki]: >> Hi Matthias, >> i used a query like >>> On 25 Mar 2016, at 13:21, Matthias Wegner <[hidden email] >> </user/SendEmail.jtp?type=node&node=7598644&i=0>> wrote: >>> >>> Hi Users, >>> >>> i added over 500 Pages to the new XWiki and now want to sort it in >> depth. >>> But i cant find the "Change Parent" Symbol in Edit-Mode. Where can i >> change >>> the Parent of a Page? >> >> See >> http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HSettingthepageparent >> >> This page should lead you to >> http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization/ which >> in turn should lead you to >> http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization/NestedPagesMigration/ >> >> Thanks >> -Vincent >> >>> Regards, >>> Matthias >> >> _______________________________________________ >> users mailing list >> [hidden email] </user/SendEmail.jtp?type=node&node=7598644&i=1> >> http://lists.xwiki.org/mailman/listinfo/users >> <http://lists.xwiki.org/mailman/listinfo/users> >> >> >> ------------------------------------------------------------------------ >> If you reply to this email, your message will be added to the >> discussion below: >> http://xwiki.475771.n2.nabble.com/Set-Parent-in-XWiki-8-0-tp7598643p7598644.html >> >> <http://xwiki.475771.n2.nabble.com/Set-Parent-in-XWiki-8-0-tp7598643p7598644.html> >> >> >> To unsubscribe from Set Parent in XWiki 8.0, click here >> <http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7598643&code=bWljLm1hdC53ZWduZXJAd2ViLmRlfDc1OTg2NDN8LTIyMDkyOTgwMA== >> >> <http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7598643&code=bWljLm1hdC53ZWduZXJAd2ViLmRlfDc1OTg2NDN8LTIyMDkyOTgwMA==>>. >> NAML >> <http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml >> >> <http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>> >> >> > > > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Set-Parent-in-XWiki-8-0-tp7598643p7598667.html > > <http://xwiki.475771.n2.nabble.com/Set-Parent-in-XWiki-8-0-tp7598643p7598667.html> > Sent from the XWiki- Users mailing list archive at Nabble.com > <http://nabble.com/>. > _______________________________________________ > users mailing list > users@xwiki.org <mailto:users@xwiki.org> > http://lists.xwiki.org/mailman/listinfo/users > <http://lists.xwiki.org/mailman/listinfo/users> _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users