I have written one Button SlingModel and I wanted to reuse it into another model. In SPA I can't achieve that.
I tried with
@Deleted Account
@getter
private ButtonModel buttonModel;
It is returning null. Is this possible?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi
use
@Deleted Account
@Via("resource")
please refer this
Thanks
Hi
Please try this @ inject
refer this : https://stackoverflow.com/questions/39594183/inject-another-sling-model-from-sling-model
Thanks
Tried this and it didn't work
Hi
use
@Deleted Account
@Via("resource")
please refer this
Thanks
Views
Likes
Replies