Highlighted

aem sightly Condition

shashanks526115

01-07-2020

Hi,

    Someone please help me.

 

<sly data-sly-test.lang="${val}" />
i am getting the current url in lang but when i m trying to test using below code it is getting false somewhere and i m not getting text ( true )  on page(view source). so is there any other condition in aem to use here.
 <sly data-sly-test="${lang == ''https://www.google.com''}">
    true
</sly>

Replies