[ 
https://issues.apache.org/jira/browse/SLING-9133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17043358#comment-17043358
 ] 

Stefan Seifert commented on SLING-9133:
---------------------------------------

the HTL plugin allows to register custom expression options which is required 
here - example for AEM:
https://github.com/wcm-io/wcm-io-tooling/blob/ce377f714007718a460db4637b73e9b2d582290a/maven/aem-global-parent/pom.xml#L281-L287

> 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)

Reply via email to