AEM - Sling
Hi @16227148,
In Adobe Experience Manager (AEM), when defining a Sling Model with the following adaptation:
@Model(adaptables = { Resource.class, SlingHttpServletRequest.class })
What is the purpose of still using the @Self annotation for fields such as:
@Self
private Resource resource;
@Self
private SlingHttpServletRequest request;
How does the @Self annotation interact with the @Model(adaptables) declaration, and what is the significance of using both in a Sling Model?