[xwiki-users] Registration mails sources ?

Sergiu Dumitriu sergiu at xwiki.com
Fri Dec 21 17:49:17 CET 2007


Paul Libbrecht wrote:
> 
> Le 21 déc. 07 à 15:27, Sergiu Dumitriu a écrit :
> 
>>> But I need a bunch of variable names...
>>> Any good way to hack the current velocity context to list available
>>> variables and properties for each ?
>>
>> #foreach($prop in $context.vcontext.getKeys()) $prop #end
>> #foreach($prop in $context.context.keySet()) $prop #end
> 
> That seems to be empty....
> 

You need to have programming rights to execute this code. So if 
$context.hasProgrammingRights() returns false, try to do this in a local 
install with the Admin user.

Sergiu


More information about the users mailing list