Thanks, working now.I think the lines, somehow messed
up with the result. I removed the lines, now it works fine. By the way,
can you explain when to use @Model(adaptables=Resource.class) vs.
@Model(adaptables = SlingHttpServletRequest.class, adapters =
Article.class, resourceType = ArticleImpl.RESOURCE_TYPE)If my article
component has an image, how to reuse the core image class
(ImageImpl.java)? so I can pass the image path and return me a smart
image class.Do you have an example?Thanks a lot.