The developer is presented with a component "Component A" which inherits from a component "Component B".
The dialog of Component A on path ../cq:dialog/../../items looks like:
The dialog of Component B on path ../cq:dialog/../../items looks like:
The requirement for the dialog is that the "Align text" field is shown after the "Title" field.
What should the developer do without changing Component B?
A. Move the align node from Component A to Component B and order them according the requirements.
B. Extend Component B with the functionality of Component A.
C. Add the property sling:orderBefore="description" to the align node.
D. Move all nodes under the item node from Component B to Component A and order them according the requirements.
The developer is presented with a component "Component A" which inherits from a component "Component B". The dialog of C
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
The developer is presented with a component "Component A" which inherits from a component "Component B". The dialog of C
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!