hi all,

I added tests to the codebase for this improvement.

Any feedback would be welcome!

best,
Feike

From: Feike Visser <[email protected]>
Date: Tuesday, June 27, 2017 at 2:32 PM
To: "[email protected]" <[email protected]>
Subject: [SLING-6504] HTL able to adapt from multiple objects

hi team,

I have made an extension of the data-sly-use api to also adapt from other 
objects than Request/Resource.

Example:

<sly data-sly-use.session="${'javax.jcr.Session' @ adaptable = 
resource.resourceResolver}" />

As you can see the change has no impact on the syntax or language.

Would be great to receive feedback or to hear how to proceed.

https://issues.apache.org/jira/browse/SLING-6504

--
Feike

Reply via email to