Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

aem sightly Condition

Avatar

Avatar
Validate 1
Level 2
shashanks526115
Level 2

Like

1 like

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 3
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 2
shashanks526115
Level 2

Like

1 like

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 3
Give Back
Boost 1
View profile
shashanks526115
Level 2

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

Avatar

Avatar
Validate 1
Level 2
shashanks526115
Level 2

Like

1 like

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 3
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 2
shashanks526115
Level 2

Like

1 like

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 3
Give Back
Boost 1
View profile
shashanks526115
Level 2

01-07-2020

solved. don't reply please.