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.
arunpatidar
arunpatidarAccepted solution
New Participant
Aug 2, 2022 2:31 PM UTC

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

3 replies

Manu_Mathew_
New Participant
Aug 2, 2022 4:09 PM UTC

@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

Translate
Jagadeesh_Prakash
New Participant
Aug 2, 2022 2:54 PM UTC

@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.

 

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Aug 2, 2022 2:31 PM UTC

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.

Translate
Arun Patidar