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 2016/01/08 17:27:39 UTC

[jira] [Updated] (SLING-5334) Improve Sightly script resolution for components using inheritance

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

Radu Cotescu updated SLING-5334:
--------------------------------
    Fix Version/s:     (was: Scripting Sightly Engine 1.0.8)
                   Scripting Sightly Engine 1.0.10

> Improve Sightly script resolution for components using inheritance
> ------------------------------------------------------------------
>
>                 Key: SLING-5334
>                 URL: https://issues.apache.org/jira/browse/SLING-5334
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Radu Cotescu
>            Assignee: Radu Cotescu
>            Priority: Minor
>             Fix For: Scripting Sightly Engine 1.0.10
>
>
> Assuming the following content structure:
> {noformat}
> ├── grandparent
> │   ├── S.java
> │   ├── grandparent.html
> │   ├── notoverlaid.js
> │   ├── s.ecma
> │   ├── s.js
> │   └── templates.html
> ├── parent [sling:resourceSuperType=grandparent]
> │   ├── S.java
> │   ├── s.ecma
> │   ├── s.js
> │   └── templates.html
> └── child [sling:resourceSuperType=parent]
>     ├── S.java
>     ├── notoverlaid.html
>     ├── s.ecma
>     ├── s.js
>     └── templates.html
> {noformat}
> If any of the used scripts / included files would not be directly under the component node, script resolution would fail. Sightly should be able to correctly load and overlay component scripts even if they're {{n}} levels deep under the component node.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)