[ 
https://issues.apache.org/jira/browse/SLING-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570603#action_12570603
 ] 

Michael Marth commented on SLING-252:
-------------------------------------

The 15 minutes Sling guide needs to be updated accordingly by someone with 
write rights.

> 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
>          Components: Scripting
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> 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.

Reply via email to