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

Konrad Windszus commented on SLING-6504:
----------------------------------------

Please elaborate on the use case: 
Is this
# a generic adaptable 
({{org.apache.sling.scripting.sightly.impl.engine.extension.use.JavaUseProvider}})
 or 
# a Sling Model 
({{org.apache.sling.scripting.sightly.models.impl.SlingModelsUseProvider}})

> Use-api also adaptable from ResourceResolver
> --------------------------------------------
>
>                 Key: SLING-6504
>                 URL: https://issues.apache.org/jira/browse/SLING-6504
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Feike Visser
>              Labels: Sightly
>
> The current implementation of the Use-api accept classes that are adaptable 
> from Request or Resource. But in many cases it would also be great if they 
> can be adaptable from ResourceResolver.
> Now you need to write a small wrapper to get the resourceResolver and adapt 
> to the class.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to