You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andrei Shilov (Jira)" <ji...@apache.org> on 2020/02/24 08:59:00 UTC

[jira] [Created] (SLING-9133) data-sly-resource Unknown option 'wcmmode'

Andrei Shilov created SLING-9133:
------------------------------------

             Summary: 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


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)