aem sightly Condition | Community
Skip to main content
New Participant
July 1, 2020

aem sightly Condition

  • July 1, 2020
  • 1 reply
  • 1234 views

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>
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

New Participant
July 1, 2020
solved. don't reply please.