what is base page component | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

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.

3 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
August 2, 2022

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
Jagadeesh_Prakash
Community Advisor
Community Advisor
August 2, 2022

@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.html?lang=en#:~:text=The%20Page%20Component%20forms%20the,using%20the%20other%20Core%20Components.

 

Manu_Mathew_
Community Advisor
Community Advisor
August 2, 2022

@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