[
https://issues.apache.org/jira/browse/SLING-9133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrei Shilov resolved SLING-9133.
----------------------------------
Resolution: Invalid
> data-sly-resource Unknown option 'wcmmode'
> ------------------------------------------
>
> Key: SLING-9133
> URL: https://issues.apache.org/jira/browse/SLING-9133
> Project: Sling
> Issue Type: Bug
> Components: Maven Plugins and Archetypes
> Reporter: Andrei Shilov
> Priority: Minor
>
> Hi there! might be someone from Adobe or Sling committers could help me to
> clarify one moment with sightlyThere is
> [https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler/blob/master/src/main/java/org/apache/sling/scripting/sightly/impl/filter/ExpressionContext.java#L44]
> Which defines attributes that are allowed to be used with
> {{data-sly-resource}} and {{wcmmode}} is missing here, therefore html maven
> plugin gives us this output
> ${'cmp' @ resourceType='example/cmp', wcmmode='disabled'}: Unknown option
> 'wcmmode'.
> But apparently we can use {{wcmmode}} here and it even works
>
>
> Sorry if this ticket was created in the wrong space
--
This message was sent by Atlassian Jira
(v8.3.4#803005)