AD0-E103 Exam QuestionsBrowse all questions from this exam

AD0-E103 Exam - Question 37


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?

Show Answer
Correct Answer: AC

The requirement states that the 'Align text' field should be shown after the 'Title' field without changing Component B. Adding the property sling:orderBefore='description' to the 'align' node in Component A will ensure that the 'align' field is ordered before the 'description' field and thus follows the 'title' field. This approach modifies only Component A and adheres to the requirement without altering Component B.

Discussion

4 comments
Sign in to comment
pkg82Option: C
Jun 22, 2020

Correct answer is C

Rajiv1908
Jul 5, 2020

Correct Answer is A. Don't misguide.

grios
Jul 11, 2020

It's C

eipeOption: C
Jul 9, 2020

correct answer is c

PSJadhavOption: C
Jul 11, 2020

Answer is C

goelamit1982Option: C
Oct 10, 2020

https://gist.github.com/kevinweber/5812f6b670d8ae8d3bfc7bd1ad204b7c Answer C