[
https://issues.apache.org/jira/browse/SLING-6779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16952843#comment-16952843
]
Andrei Shilov commented on SLING-6779:
--------------------------------------
Seems that one know options is missing for `data-sly-resource` hereĀ
[https://github.com/AndreiShilov/sling-org-apache-sling-scripting-sightly-compiler/blob/master/src/main/java/org/apache/sling/scripting/sightly/impl/filter/ExpressionContext.java#L44]
Option -> `decoration`
[https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/decoration-tag.html#UseCase2IncludeanEditableComponent]
Is it done on purpose, do you plan to remove this option?
> The HTL compiler and Maven Plugin should warn when using potentially invalid
> options
> ------------------------------------------------------------------------------------
>
> Key: SLING-6779
> URL: https://issues.apache.org/jira/browse/SLING-6779
> Project: Sling
> Issue Type: New Feature
> Components: Scripting
> Affects Versions: Scripting HTL Compiler 1.0.0, HTL Maven Plugin 1.0.6
> Reporter: Feike Visser
> Assignee: Radu Cotescu
> Priority: Major
> Fix For: Scripting HTL Compiler 1.2.0-1.4.0, HTL Maven Plugin
> 1.3.0-1.4.0, Scripting HTL Engine 1.2.0-1.4.0, Scripting HTL Testing
> 1.0.18-1.4.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> I have the following code
> {code}
> ${currentPage.title @ contex = 'scriptString'}
> {code}
> No warning or error is given for the wrong option @ contex
--
This message was sent by Atlassian Jira
(v8.3.4#803005)