[xwiki-users] Menu Application rendering content

2014-04-18 Thread Jeremie BOUSQUET
Hello, I used the Menu Application [1] to define a horizontal menu, after page header, and it's very nice and very user-friendly. I wonder if it could (easily) be feasible, to have the content ("Menu Structure") of the menu rendered ? My point would be to put some velocity scripting in it, to ach

Re: [xwiki-users] Menu Application rendering content

2014-04-18 Thread Marius Dumitru Florea
Hi Jeremie, The "Menu Structure" is rendered! Take a look at http://extensions.xwiki.org/xwiki/bin/view/Extension/Menu+Application#HExamples . As you can see there is a menu macro whose content supports wiki syntax (including scripting!). The Menu Application uses this menu macro. When you creat

Re: [xwiki-users] Menu Application rendering content

2014-04-18 Thread Hamster
Hi Marius, I am getting an "org.xwiki.rendering.macro.MacroExecutionException: Nested scripts are not allowed" error when I try the "Hierarchy Panel" example (We are using XWiki 5.4.3) What am I doing wrong? -- View this message in context: http://xwiki.475771.n2.nabble.com/Menu-Application-r

[xwiki-users] Dynamically create space and add rights and members

2014-04-18 Thread Daniel Ebanja
Hi Developers, i have been trying this the whole time already and decided to ask for help. I want to create a space, a group and add a member to the group. The space should only be viewed by this group. Here is my code till now. The Space is created, the group too and the user login in is added to