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
2 months agoHerminia
3 months agoNada
3 months agoDeja
4 months agoAlba
4 months agoPatria
5 months agoDominque
5 months agoLovetta
5 months agoBrianne
5 months agoOlen
5 months agoKenneth
5 months agoTwanna
6 months agoLashonda
6 months agoStevie
6 months agoRodolfo
6 months agoGilberto
7 months agoKristin
7 months agoMichell
7 months agoEarleen
7 months agoMalcom
8 months agoKimberlie
8 months agoStaci
8 months agoPeggie
2 months agoJose
2 months agoTula
2 months ago