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 2020/04/09 20:19:00 UTC

[jira] [Resolved] (SLING-9328) Allow loading template libraries from bundles

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

Radu Cotescu resolved SLING-9328.
---------------------------------
    Resolution: Fixed

Implemented in [commit fde8c6e|https://github.com/apache/sling-org-apache-sling-scripting-sightly/commit/fde8c6e].

> Allow loading template libraries from bundles
> ---------------------------------------------
>
>                 Key: SLING-9328
>                 URL: https://issues.apache.org/jira/browse/SLING-9328
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Radu Cotescu
>            Assignee: Radu Cotescu
>            Priority: Major
>             Fix For: Scripting HTL Engine 1.4.0-1.4.0
>
>
> The HTL engine allows defining template libraries (i.e. a file providing a collection of templates), which can then be referenced so that a certain template is loaded. With the option of providing HTL files as either bundled scripts or precompiled {{RenderUnits}}, the {{RenderUnitProvider}} needs to be enhanced so that it attempts to resolve the template libraries either in the bundle providing the current {{RenderUnit}} or in the wired bundles.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)