Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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.

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.

Avatar

Level 8

@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

Level 8

@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