On Tue, Oct 20, 2015 at 5:59 AM, Juan Martín Sotuyo Dodero <
[email protected]> 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&amp;'
> 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
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to