A developer needs to create a new Title component. The requirements are:
1. The layout must be the same as the Title core component
2. The text property must have the page title as prefix (e.g., Page Title -
3. The component must be reusable
Which approach is recommended?
A proxy component is a site-specific component that inherits from a core component and allows customization of the component name, group, dialog, and behavior. A proxy component can refer to any version of the core component by changing the sling:resourceSuperType property. A custom sling model can be used to implement the logic for adding the page title as prefix to the text property. A component template can be used to define the layout of the component.
Rusty
25 days agoHerminia
1 month agoNada
1 month agoDeja
3 months agoAlba
3 months agoPatria
3 months agoDominque
3 months agoLovetta
3 months agoBrianne
4 months agoOlen
4 months agoKenneth
4 months agoTwanna
4 months agoLashonda
4 months agoStevie
4 months agoRodolfo
5 months agoGilberto
5 months agoKristin
6 months agoMichell
6 months agoEarleen
6 months agoMalcom
6 months agoKimberlie
6 months agoStaci
6 months agoPeggie
9 days agoJose
15 days agoTula
20 days ago