Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

cq:isContainer Property in AEM | AEM Community Blog Seeding




cq:isContainer Property in AEM by Arun Patidar


cq:isContainer Property in AEM
It’s a common use case to create components that include other components. These components are called “Container Components” e.g. parsys, etc and are denoted by adding cq:isContainer="{Boolean}true" as a property on the component.

Why is it important to add cq:isContainer property to container component?
The answer is simple to make sure the component must behave like a container component. You must be thinking what does it even mean? Let's understand this with an example.
I have 3 components, component-container, component-a, component-b
The component structure would be:

|----- component-a
|----- component-b

What happens if component-container does not have cq:isContainer property

Read Full Blog

cq:isContainer Property in AEM


Please use this thread to ask the related questions.

Kautuk Sahni
0 Replies