Hello,
I had same problem, here vincents 
answer:----------------------------________________________________
 De : "[email protected]" <[email protected]>
À : XWiki Users <[email protected]> 
Envoyé le : Lundi 25 août 2014 15h56
Objet : Re: [xwiki-users] need help with getContext
 

You’re not allowed to use APIs requiring Programming Rights in Panels (there’s 
a dropPermissions() call in the panels template).

See http://jira.xwiki.org/browse/XWIKI-6823

Thanks
-Vincent----------------------------
Pascal BASTIEN
      De : "DAL MOLIN, Sandrine (DIMENSION DATA)" 
<[email protected]>
 À : "[email protected]" <[email protected]> 
 Envoyé le : Mardi 25 novembre 2014 9h10
 Objet : [xwiki-devs] Query and Panels
   
Hello,

I have written a specific velocity script to display a tags cloud.
The script is correct and displays my tags.

I would insert this script into a panel to display it in all pages.
So I created a specific Panel and I called my script page with: {{include 
reference="XWiki.TagsCloudParam"/}}

But the panel script doesn't want to return any tag in a view mode while the 
panel type is "view". The script is well executed but the query returns no 
result.

Otherwise, if I edit the current page, the tags cloud appears! It is the same 
for all wiki pages.
And if I am into the Administration space, the tags cloud is also displayed.

What is going wrong?
Do I need to configure something to authorize my query on a view mode?

Thank you for your help.




The information in this e-mail is confidential. The contents may not be 
disclosed or used by anyone other than the addressee. Access to this e-mail by 
anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and 
delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of 
this e-mail as it has been sent over public networks. If you have any concerns 
over the content of this message or its Accuracy or Integrity, please contact 
Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus 
scanning software but you should take whatever measures you deem to be 
appropriate to ensure that this message and any attachments are virus free.

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs


  
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to