List of questions
Related questions
Question 60 - AD0-E103 discussion
A developer is creating a custom component on the page /latestBlogs.html that needs to list all the titles of the blogs pages under /content/blogs.
How does this component get the list of child pages?
A.
Instantiate a node object with session.getNode(/content/blogs) and then iterate through the child nodes and print the title for each.
B.
Use PageManager.getPage(“/content/blogs”) of the static PageManager class to instantiate a Page object and then iterate through the child pages and print the title for each.
C.
Use the QueryDebugger to look for all children of /content/blogs and then iterate through the result set and print the title for each.
D.
Adapt the resourceResolver to the PageManager service, then use the getPage(/content/blogs) to instantiate a Page object and then iterate through the child pages and print the title for each.
Your answer:
0 comments
Sorted by
Leave a comment first