14 Jan
2008
14 Jan
'08
4:36 p.m.
On Jan 14, 2008, at 5:32 PM, rssh wrote:
* use the velocity context
Note that the only reason your code didn't work is because you need programming rights to be allowed to set values in the xwiki context:
1. But this code does not work from superadmin.
hmm.... Some time ago I created http://jira.xwiki.org/jira/browse/XWIKI-1046 but apparently I thought it wasn't true anymore. Maybe under some conditions it's a problem? Would be interesting if you could log in with an Admin user who has programming rights and see if it works.
2. I.e. we need programming rights for any evaluation of program, written by others ?
Yes, if that code has checks for programming rights. -Vincent