This happens consistently on all pages. I initially tried to use the Document Tree macro on Dashboard, but seeing it fail I wrote it in a new empty page and the result is the exact same. This is a recently upgraded wiki from 4.0.0. Other than this (which is a completely new feature coming from 4.0) I've encountered no issues. *Juan Martín Sotuyo Dodero* - CTO Office: +54.11 - 5217.7850 Mobile: +54.911 - 3684.5544 Skype: jsotuyod *Argentina Head Office* Viamonte 1181, 3rd fl, CABA, C1053ABW *www.monits.com <http://www.monits.com/>* On Tue, Oct 20, 2015 at 7:11 AM, Marius Dumitru Florea < mariusdumitru.florea@xwiki.com> wrote:
On Tue, Oct 20, 2015 at 5:59 AM, Juan Martín Sotuyo Dodero < jmsotuyo@monits.com> wrote:
Hey everyone!
I’m having an issue with xwiki 7.2 when rendering the document tree macro.
The issue seems to be that the macro is not generating the appropriate HTML.
{{documentTree/}} is rendered as (% class='xtree ' ... %)((()))
All needed JS and CSS files are being pulled but since the JS is looking for <a class="xtree" ...> it just never renders.
if I manually add an HTML snippet along the macro through
{{html}} <a class="xtree" data-responsive="true" data-url='/xwiki/bin/get/XWiki/DocumentTree?outputSyntax=plain&' data-dragAndDrop='false' data-contextMenu='false' data-icons='true' data-edges='true' data-checkboxes='false' data-openTo='' data-finder='false'>tree</a> {{/html}}
this snippet does render does render properly below the badly formatted macro.
Any ideas or help are more than welcome!
I just downloaded XWiki 7.2 and I put {{documentTree/}} on a new wiki page. The tree loads fine as expected. Can you reproduce the issue on a new wiki page? Your problem may be related to the context where you use the Document Tree Macro. Can you give us the full content of the page where you have this issue? Or at least try to reduce the problem by removing content that is not needed to reproduce the issue.
Thanks, Marius
*Juan Martín Sotuyo Dodero* - CTO
Office: +54.11 - 5217.7850 Mobile: +54.911 - 3684.5544 Skype: jsotuyod
*Argentina Head Office* Viamonte 1181, 3rd fl, CABA, C1053ABW *www.monits.com <http://www.monits.com/>* _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users