Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
Scripting Sightly Engine 1.0.0
-
None
Description
Following the discussion on dev@sling.apache.org I believe it would be nice if we can bind a resource (by path) to a variable using data-sly-use:
data-sly-use.myResource="${ '/content/myResource' }"
This will eliminate the need to create an use object for simple cases when we are reading properties from other resources.
Attachments
Issue Links
- duplicates
-
SLING-5813 Allow a Resource to be used as a Sightly Use-Object with data-sly-use
- Closed