On Feb 17, 2008 10:51 PM, Lars Trieloff <[EMAIL PROTECTED]> wrote: > ...I think this would be the easiest way of accessing the > node variable in scripts, it would work across all scripting languages > and if we call the variable "currentNode" we would benefit from > 1) being drop-in compatible with JST code used in µjax > 2) not colliding with people using node as a variable name inside loops...
I agree about adding a "currentNode" variable to the scripting context for all scripting languages, I just created https://issues.apache.org/jira/browse/SLING-252 about this. -Bertrand
