Skip to content

Instantly share code, notes, and snippets.

Created July 2, 2018 16:25
What would you like to do?
@Model(adaptables = SlingHttpServletRequest.class, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL)
public class ContactUsModel {
//Accessing the resource that is adapted to ContactusModel
protected Resource resource;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment