Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
The current implementation of the Use-api accept classes that are adaptable from Request or Resource.
This issue is to make this mechanism more flexible, to be able to adapt from different objects.
Proposal:
<sly data-sly-use.session="${'javax.jcr.Session' @ adaptable = resource.resourceResolver}" />
${session.userID}
This avoids the implementations of wrapper classes that only do the adaptation.
Attachments
Issue Links
- links to