Sling Model and Sightly
I have a Sling Model class and i want to use it in sightly.
My Sling model should be map to the JCR node in order to access the node properties.
So how to map sightly with Sling Model and JCR node?
I have a Sling Model class and i want to use it in sightly.
My Sling model should be map to the JCR node in order to access the node properties.
So how to map sightly with Sling Model and JCR node?
Assuming your Sling Model class is adaptable from either Resource or SlingHttpServletRequest, you can specify the fully-qualified class name in the data-sly-use attribute. See http://experiencedelivers.adobe.com/cemblog/en/experiencedelivers/2014/04/sightly-intro-part-4.html
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.