ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 23 - AD0-E103 discussion

Report
Export

A developer needs to create a new component called “Component A”. Component A must show a list of other components that all have a resource type of existing “Component B”. Component A must render this list of tiles for each Component B where the tile rendering is different from the default one. The list of rendered tiles must be reusable by future new components.

How should the developer implement this functionality?

A.
Create a script for tile rendering in Component B and use data-sly-resource attribute with a Sling selector in Component A to render the tile.
Answers
A.
Create a script for tile rendering in Component B and use data-sly-resource attribute with a Sling selector in Component A to render the tile.
B.
Component A overlays Component B and overwrites the base renderer to facilitate the tiles.
Answers
B.
Component A overlays Component B and overwrites the base renderer to facilitate the tiles.
C.
Component A inherits from Component B and overwrites the base renderer to facilitate the tiles.
Answers
C.
Component A inherits from Component B and overwrites the base renderer to facilitate the tiles.
D.
Component A calls the HTL of Component B directly using a data-sly-include attribute.
Answers
D.
Component A calls the HTL of Component B directly using a data-sly-include attribute.
Suggested answer: A
asked 02/10/2024
Tyler Smith
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first