Skip to main content

6 docs tagged with "sling-models"

View all tags

@ChildResource

The @ChildResource annotation is a Sling Models injector that maps child JCR nodes to Java objects. It is the

Custom Component Guide

This guide walks through creating a custom AEM component from start to finish. Every artifact is covered:

Extending Core Components with Delegation

How to customise AEM Core Components without copying them - proxy components, the Sling Model delegation pattern with @Via(type = ResourceSuperType.class), adding new fields, keeping the JSON exporter working, and common pitfalls.