[xwiki-users] Document Tree Macro doesn't save changes in page order
Hi, All! XWiki 6.4.2 clean installation. Extension http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro is installed. Space with several pages. On Space.WebHome I put {{velocity}} {{documentTree showSpaces="true" readOnly="false" root="document:$doc.space.$doc.name"/}} {{/velocity}} Works fine. I have a tree. If I change page order in the Tree - it also works fine. On page reload Tree has initial page order. Am I doing anything wrong or this is the case to "jira" the bug? Is it possible to open all branches of the tree somehow? Kind regards, Dmitry
On Thu, Mar 5, 2015 at 11:55 AM, Dmitry Bakbardin <[email protected]> wrote:
Hi, All!
XWiki 6.4.2 clean installation. Extension http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro is installed. Space with several pages. On Space.WebHome I put
{{velocity}} {{documentTree showSpaces="true" readOnly="false" root="document:$doc.space.$doc.name"/}} {{/velocity}}
Works fine. I have a tree. If I change page order in the Tree - it also works fine. On page reload Tree has initial page order. Am I doing anything wrong or this is the case to "jira" the bug?
It's not a bug. Just that this part was not yet implemented.
Is it possible to open all branches of the tree somehow?
Not from the UI, but can be done with one line of JavaScript jQuery.jstree.reference('.xtree').open_all() See http://www.jstree.com/api/ for more details. Hope this helps, Marius
Kind regards,
Dmitry _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Dmitry Bakbardin -
Marius Dumitru Florea