Hi,
On Wed, Dec 9, 2009 at 02:50, Josh Eastburn <jkeastburn+xwiki(a)gmail.com> wrote:
The documentation seems to indicate that bindings
normally available in
Velocity like $context should be available in other scripting languages, but
accessing 'context' in Python (e.g. if context.action == 'inline':)
always
gives me problems. Any help?
"context" is deprecated and contains JSR223 ScriptContext (it's a
reserved keyword). You need to use "xcontext".
Thanks,
Josh
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne