Thanks Stefan for your reply! I tried with @ChildResource and it worked
like a charm - cool!
As far as I understand the @ResourcePath javadoc, you can use this
annotation to inject a resource by given path, but not a relative path.
On Wed, Apr 20, 2016 at 5:38 PM, Stefan Seifert
@ResourcePath injects the resource path (string), not a resource identified by
a path.
please try the @ChildResource injector with name = child path.
https://sling.apache.org/documentation/bundles/models.html#available-injectors
stefan
>-Original Message-
>From: olimination