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/03/29 11:25:41 UTC

[jira] [Created] (SLING-6744) [HTL] Introduction of data-sly-resolve

Feike Visser created SLING-6744:
-----------------------------------

             Summary: [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)