You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/02/18 10:18:34 UTC
[jira] Resolved: (SLING-252) Add a "currentNode" variable to the
scripting context for all languages
[ https://issues.apache.org/jira/browse/SLING-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved SLING-252.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
And the second step: rename the default JSP variable name for the current node to "currentNode" (was "node") in Rev. 628656.
Please close, if this ok for you. Thanks.
> 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: Felix Meschberger
> 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.