[ https://issues.apache.org/jira/browse/SLING-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569812#action_12569812 ]
Felix Meschberger commented on SLING-252: ----------------------------------------- Thanks for creating the issue. I just committed a first step in Rev. 628655. > Add a "currentNode" variable to the scripting context for all languages > ----------------------------------------------------------------------- > > Key: SLING-252 > URL: https://issues.apache.org/jira/browse/SLING-252 > Project: Sling > Issue Type: Improvement > Reporter: Bertrand Delacretaz > Assignee: Felix Meschberger > Priority: Minor > > As discussed in http://markmail.org/message/vokst7wb4k322zdc > currentNode = Resource.adaptTo(Node.class), so the value is null if the > Resource does not point to a Node -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.