Solved
Sightly question: how to adapt a class with a path
In java code, I can do this:
Resource articleResource = resourceResolver.getResource("/somepath/for/article");
Article article = articleResource.adaptTo(Article.class);
Can Sightly do the same? and how?
In AEM 6.3 with sling models.
Thanks.