Re: [xwiki-users] Menu Application rendering content

2014-04-22 Thread Jeremie BOUSQUET
Hi, Thanks Marius, I simply forgot to try adding {{velocity}} macro, I was thinking too much it would be like css extensions ! :) BR, Jeremie 2014-04-18 16:43 GMT+02:00 Marius Dumitru Florea mariusdumitru.flo...@xwiki.com: Hi Jeremie, The Menu Structure is rendered! Take a look at

Re: [xwiki-users] Menu Application rendering content

2014-04-19 Thread Marius Dumitru Florea
On Apr 19, 2014 8:53 AM, Hamster teun...@hotmail.com wrote: 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? Can you please be more

Re: [xwiki-users] Menu Application rendering content

2014-04-19 Thread Hamster
Hi Marius, Originally I simply copy-pasted the example code: {{menu type=vertical collapsible}} {{velocity}} #set ($depth = 3) #set ($limit = 10) #macro (children $parentDoc $level) #foreach ($child in $parentDoc.getChildren($limit, 0)) #set ($childDoc = $xwiki.getDocument($child))

[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

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 create

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: