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
SOLVED

what is base page component

Avatar

Level 2

how to make the base page component and what it means.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi, This is same as Java inheritance

 

A base class is an existing class from which the other classes are derived and inherit the methods and properties. A derived class is a class that is constructed from a base class or an existing class.

 

So when you create a page component e.f. A and when you create another page component B by inheriting the A then A is the base component.



Arun Patidar

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi, This is same as Java inheritance

 

A base class is an existing class from which the other classes are derived and inherit the methods and properties. A derived class is a class that is constructed from a base class or an existing class.

 

So when you create a page component e.f. A and when you create another page component B by inheriting the A then A is the base component.



Arun Patidar

Avatar

Community Advisor

@gargkrishna I Agree with @arunpatidar 

 

The Page Component forms the basis of all pages designed with the Core Components as well as editable templates. By using the Page Component, headers, footers, and the structure of the page can be defined as a template using the other Core Components

 

https://experienceleague.adobe.com/docs/experience-manager-core-components/using/components/page.htm....

 

Avatar

Community Advisor

@gargkrishna Component is a collection of scripts and is modular. Page rendering components are like parent compoenent, we can place multiple content compoenents inside a Page rendering components