@SantoshSai That did not work , the @Self, it points to the node that
holds a resource type A. The component's HTML with resource type A
invokes the model with @childresource and it seemed to work , without
adapting to SlingHttpServletRequest. Are we sure we compulsorily need to
adapt to SlingHttpServletRequest?
http://www.sgaemsolutions.com/2017/08/deep-dive-on-sling-models-part-1.html
@Model(adaptables = Resource.class)public class CarouselController
{@inject@Optional@ChildResource(name = "mul...