[
https://issues.apache.org/jira/browse/SLING-6744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15967697#comment-15967697
]
Radu Cotescu commented on SLING-6744:
-------------------------------------
{{data-sly-resolve}}, the way you define it, is something Sling specific.
However, the HTL's specification is designed in a way that's more or less Sling
agnostic. Block elements are defined by the specification, and not by Apache
sling.
> [HTL] Introduction of data-sly-resolve
> --------------------------------------
>
> Key: SLING-6744
> URL: https://issues.apache.org/jira/browse/SLING-6744
> Project: Sling
> Issue Type: New Feature
> Components: Scripting
> Reporter: Feike Visser
>
> We have functionality to resolve a resource via data-sly-use.
> The functionality is implemented to throw an exception when the resource does
> not exist.
> With data-sly-resolve, you can resolve a resource. If the resource does not
> exist a null gets assigned to the variable.
> This is the same as you would do with resolver.getResource()
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)