Hi!
______________________________________
From: users-bounces(a)xwiki.org [users-bounces(a)xwiki.org] On Behalf Of Belkhiria Hamza
Yazid [yoshipepperoni(a)gmail.com]
Sent: 19 May 2013 10:34
To: XWiki Users
Subject: [xwiki-users] Include Macro not showing documents as expected
Good morning
I just discovered how useful can be Include Macro :)
still it only works when the document Dashboard.Webhome is included,
{{include document="Dashboard.WebHome" context="new"/}}
Other documents do not show up when i try.
Include Macro is extensively used throughout XWiki default pages themselves. If you have
installed the default XAR, check/edit for instance any user's document and will find
Include calling XWikiUserSheet this way...
{{include document="XWiki.XWikiUserSheet"/}}
Thus, if you are enjoying XWiki, you are also enjoying Include macro!
Are you receiving any error?
For instance: please, just check if you have access rights in the document you are
including. If you haven't access rights, you'll read...
Failed to execute the [include] macro
...
Caused by: org.xwiki.rendering.macro.MacroExecutionException: Current user doesn't
have view rights on document
...
HTH!
I am not sure if this is due to the Macro itself or to
problems within the
structure like duplicated pages/ spaces or unclear view of parents child
relations
Thank you,
Best Regards,
--
*BHY*
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada
e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a
destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta
mensaxe non está autorizada.
Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es
privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es
el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o
copia de este mensaje no está autorizada.
See more languages:
http://www.sergas.es/aviso_confidencialidad.htm