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

Carsten Ziegeler commented on SLING-252:
----------------------------------------

And I think as we have "currentNode", we should remove resource.node.

> 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