You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Feike Visser (JIRA)" <ji...@apache.org> on 2017/02/02 17:16:51 UTC
[jira] [Created] (SLING-6504) Use-api also adaptable from
ResourceResolver
Feike Visser created SLING-6504:
-----------------------------------
Summary: 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
The current implementation 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)