Hi I am new to Adobe AEM.
I am going through carousel.jsp 's code. there I have seen (List list = (List)request.getAttribute("list");)
where this "list" attribute has been set?
Solved! Go to Solution.
The carousel component inherits the OOTB list component, as you can see in the properties of carousel component
sling:resourceSuperType | String | foundation/components/list |
In line 37 carousel.jsp, ootb carousel is loading init.jsp, that is actually being loaded from /libs/foundation/components/list/init.jsp and which contains the code for set attribute
List list = new List(slingRequest, new PageFilter()); request.setAttribute("list", list);
Actually, carousel component inherits list component and that's where the list is being set in the request object.
--
Jitendra
krishh_187 wrote...
Hi I am new to Adobe AEM.
I am going through carousel.jsp 's code. there I have seen (List list = (List)request.getAttribute("list");)
where this "list" attribute has been set?
Views
Replies
Total Likes
The carousel component inherits the OOTB list component, as you can see in the properties of carousel component
sling:resourceSuperType | String | foundation/components/list |
In line 37 carousel.jsp, ootb carousel is loading init.jsp, that is actually being loaded from /libs/foundation/components/list/init.jsp and which contains the code for set attribute
List list = new List(slingRequest, new PageFilter()); request.setAttribute("list", list);
Thanks a lot Jitender :)
Views
Replies
Total Likes
Thank you very much :)
Views
Replies
Total Likes
Views
Likes
Replies