Salesforce Platform Developer I (legacy) — Question 75
Which approach should a developer use to add pagination to a Visualforce page?
Answer options
- A. A StandardController
- B. The Action attribute for a page
- C. The extensions attribute for a page
- D. A StandardSetController
Correct answer: D
Explanation
The correct answer is D, A StandardSetController, which is specifically designed to handle pagination by managing large sets of records. Options A, B, and C do not provide the necessary functionality to implement pagination effectively on a Visualforce page.