[
https://issues.apache.org/jira/browse/SLING-4330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14282276#comment-14282276
]
Felix Meschberger commented on SLING-4330:
------------------------------------------
Do I understand it correctly, that you propose to limit a ScriptEngine to only
handle scripts found at a certain location ?
I am not sure whether (a) a ScriptEngine really should care where a script
lives and (b) whether this would not confuse developers.
At this time we have such configuration already with the ServletResolver which
expects scripts and servlets to be registered at certain paths only. For
example, there will be no scripts or servlets executed which reside in /tmp.
> provide a configuration parameter for paths patterns Sightly should handle
> --------------------------------------------------------------------------
>
> Key: SLING-4330
> URL: https://issues.apache.org/jira/browse/SLING-4330
> Project: Sling
> Issue Type: New Feature
> Components: Scripting
> Affects Versions: Scripting Sightly Engine 1.0.0
> Reporter: Oliver Lietz
>
> Running multiple script engines for same script (template) extension should
> be possible.
> Scripting Thymeleaf already provides that parameter, see
> {{org.apache.sling.scripting.thymeleaf.SlingTemplateModeHandler#getPatternSpec():org.thymeleaf.PatternSpec}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)