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.
answer is C
Answer is C
> C
B
the answer is c
I don’t think A is the correct answer for this question. It should be C because of the resource merger.