[
https://issues.apache.org/jira/browse/SLING-115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger closed SLING-115.
-----------------------------------
Resolution: Fixed
Implemented the extension in Rev. 599570 by adding the following attributes to
the sling:defineObjects tag:
nodeName : Define the name of the scripting variable taking the Node of the
Resource if the Resource
is a NodeProvider. Default name is "node"
mappedObjectName : Define the name of the scripting variable taking the
mapped object of the Resource
if the Resource is an ObejctProvider. Default name is "object"
mappedObjectClass: Define the type of the mapped object. If this attribute
is not defined, the mapped object
is not assigned to a scripting variable.
> Add the resource node and mapped object defined objects to the
> sling:defineObjects tag
> --------------------------------------------------------------------------------------
>
> Key: SLING-115
> URL: https://issues.apache.org/jira/browse/SLING-115
> Project: Sling
> Issue Type: Improvement
> Components: JSP
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: 2.0.0
>
>
> The sling:defineObjects tag defines a number of objects as variables in the
> JSP, e.g. the SlingHttpServletRequest, Resource.
> It would be practical if the Node and mapped Object of the Resource (if the
> Resource implements the NodeProvider and ObjectProvider interfaces, resp.)
> would also be defined.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.