Sling Annotation
Hi All,
I have an use case to read the jcr property of component A from the page and use that value in my service implementation and display the processed value on page when that component A is used on a page.
Can I use the @Model(adaptables = { Resource.class}) to get the resource for reading the jcr property in my service implementation (i.e can we use both @Model and @Component in my service implementation)
Is there any other way to implement the above described use cases.
Thanks in advance ![]()
