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)

Reply via email to