List of questions
Related questions
Question 23 - AD0-E103 discussion
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.
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.
D.
Component A calls the HTL of Component B directly using a data-sly-include attribute.
Your answer:
0 comments
Sorted by
Leave a comment first