Solved
adaptTo() in sightly
Hi All,
is there a way to adapt a resource to custom model class in sightly?
I have a custom model and i want to adapt a resource to it in sightly html code not in java.
Thanks,
Khalid
Hi All,
is there a way to adapt a resource to custom model class in sightly?
I have a custom model and i want to adapt a resource to it in sightly html code not in java.
Thanks,
Khalid
Sure this is possible. By default classes used in data-sly-use will be adapted from request or resource.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.