Data-sly-list & Data-sly-repeat
AEM Sightly : Data-sly-list : the most powerful block statement of sightly which iterate the collection return from the slingModel. Data-sly-list can handle any kind of collection like: Example : <div data-sly-use. variable_name =“com.aem.package_name.core.models.Interfaceclass_name”></div>// this is used to call the slingModel <div data-sly-list. item =“${ variable_name . InterfaceMethod_Name}”> // item is the default variable provided by Slightly & you can give any name ${ item } </div> *note: Map don’t give ordered list, It gives random list. —> We can control loop’s in slightly using begin, end. Example: <div data-sly-list. item =“${ variable_name .InterfaceMethod_Name @ begin =0, end =3}”> // the loop gives 4 values ${ item } </div> —> Slightly provide some methods like: count, even, odd, middle…etc. Example: <div data-sly-list. item =“${ variable_name .InterfaceMethod_Name}”> ${ ite...