Avatar

Correct answer by
Community Advisor

You can try @ChildResource injector

https://sling.apache.org/documentation/bundles/models.html 

 

 

@ChildResource
ChildrenList<ChildModel> compositefield;

 

View solution in original post