nerdexam
Salesforce

CRT-450 · Question #199

Universal Containers has a Visualforce page that displays a table of every Container__c being rented by a given Account. Recently this page is failing with a view state limit because some of the…

The correct answer is B. Implement pagination with a StandardSetController. See the full explanation below for the reasoning.

Question

Universal Containers has a Visualforce page that displays a table of every Container__c being rented by a given Account. Recently this page is failing with a view state limit because some of the customers rent over 10,000 containers. What should a developer change about the Visualforce page to help with the page load errors?

Options

  • AUse JavaScript remotlng with SOQL Offset.
  • BImplement pagination with a StandardSetController.
  • CImplement pagination with an OffaetController.
  • DUse lazy loading and a transient List variable.

How the community answered

(15 responses)
  • A
    13% (2)
  • B
    73% (11)
  • C
    7% (1)
  • D
    7% (1)

Community Discussion

No community discussion yet for this question.

Full CRT-450 Practice