Ho great I didn't see that! Thxs Thomas http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HSharevariablebetweenlanguages
-------------------------------------------- En date de : Mar 24.1.17, Thomas Mortagne <thomas.morta...@xwiki.com> a écrit : Objet: Re: [xwiki-users] How to sort hashmap with velocity? À: "Pascal BASTIEN" <pbasnews-xw...@yahoo.fr>, "XWiki Users" <users@xwiki.org> Date: Mardi 24 janvier 2017, 18h28 Note that if you are using XWiki 8.3+ you don't need to go trough xcontext to pass data between velocity macro and other script macros. Velocity variables ends up in Groovy (as global variables) and the opposite.