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

Carsten Ziegeler commented on SLING-284:
----------------------------------------

For this to implement, we would need a way to detect from which bundle a 
resource is comming from.

> Use bundle context of scripts for service locator aka sling script helper
> -------------------------------------------------------------------------
>
>                 Key: SLING-284
>                 URL: https://issues.apache.org/jira/browse/SLING-284
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: Carsten Ziegeler
>
> A script gets a service locator in the form of the sling script helper passed 
> into. Currently this locator is
> using the bundle context of the scripting resolver bundle to resolve services.
> The bundle context of the script should be used instead.

-- 
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