You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2017/04/13 15:07:41 UTC

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

     [ https://issues.apache.org/jira/browse/SLING-6744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radu Cotescu resolved SLING-6744.
---------------------------------
    Resolution: Invalid

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