Need clarification on data-sly-test usage in sightly file
Hi All,
In sightly file, I have a set of conditions as below, based on which certain processing happens :
1]<div class="item " data-sly-test="${condition2 || condition1 || condition3}">
2]<div class="item " data-sly-test="${condition2 || condition3}">
3]<div class="item " data-sly-test="${condition1}">
Condition #1 is occuring 3 times, Condition #2 : 2 times and Condition #3 : 1 time.
a] Can someone please let me know what exactly does these conditions imply. Explanation on this will be helpful.
b] If I have to re-create the same thing in Java, how would I do that.
Any thoughts/pointers on this will be helpful.
