AEM Sightly #1 | Iterate List and Map using data-sly-list and data-sly-repeat in sightly

preview_player
Показать описание
This tutorial explain about iterating List, Array and Map using data-sly-list and data-sly-repeat. Tutorial also explain about using various method available with both data-sly-list and data-sly-repeat like index, count, first, last, middle, even and odd. This also explain difference between data-sly-list and data-sly-repeat
Рекомендации по теме
Комментарии
Автор

Thank you for explanation. Really helped.

somevalue
Автор

What will happen if end value will exceed the list length? will it give some error like java?

AparajitaK
Автор

Hello, I have to Iterate a Map<String, List<Bean>> in HTL containing Menu & Sub-Menu mapping. I am able to Iterate the first Level of all the Map's key. However I am unable to get the Value using a Key, to iterate through them. Any pointers please.

prasanthanandharaj
Автор

very good tutorial but I can't find the classes that you mentioned in the above video. Can you please reply

apoorvsharma
Автор

Nice work .. Can we iterate list on integer

ashokk
Автор

Hi @AEM GEEKS, can you please upload the code for "htlsightly component" in the Git repo

anilkumarr
Автор

Is it possible to add a dynamic value to begin and end attributes in data-sly-list? For example: I need to fetch a value from Dialog and set it on end. How can this be achieved?

reechagonsalves
Автор

Please give me some advice on clearing AEM Developer certification.

utkarshsingh
Автор

Hi Sir, in git repo the htlSightly java code doesn't exit. could you add it sir.

yetivenkatrao
Автор

Hi, in git repo the code of htlsightly folder and content does not exist. Could you add them too ?

gamzeguresci
Автор

How can we iterate through set (if model returns a set object instead of a list object)in sightly?

Arya-mhtx
Автор

How could we give various class or id values to each items of the list?? I want each item of the list to have some specific class name.How to achieve this while iterating items?

jayb
Автор

How can i print only one element? @bgein=0, end=1 => gives two elements

chetnaluthra