On Tue, Oct 20, 2015 at 2:23 PM, Juan Martín Sotuyo Dodero <
jmsotuyo(a)monits.com> wrote:
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.
What is the syntax of that new empty page? Check in Wiki Edit mode.
Can you do the following: open in view mode the wiki page were you put just
{{documentTree/}}, then Right Click + View Page Source, look for '<div
id="xwikicontent"' and give us the content of this element.
Can you also give us the content returned by this URL
http://<yourServer>/xwiki/bin/get/TheSpace/ThePage/
? (replace TheSpace and ThePage with the space and page name of the wiki
page that contains only {{documentTree /}})
Thanks,
Marius
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(a)xwiki.com> wrote:
On Tue, Oct 20, 2015 at 5:59 AM, Juan Martín
Sotuyo Dodero <
jmsotuyo(a)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(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users