Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

Get first element of a bean list in sightly : AEM 6.2

Avatar

Level 8

Hi All,

Suppose I have a bean class Sample.java, which in turn has one attribute private List<Image> images. The Image.java has private String url. I want to read only the first url property of the list in my sightly file.

Any thoughts/pointers/reference code on how to do this will be really helpful.

0 Replies