nerdexam
Salesforce

PDII · Question #300

Consider the following code snippet: Users of this Visualforce page complain that the page does a full refresh every time the Search button is pressed. What should the developer do to ensure that a…

The correct answer is D. Implement the reRender attribute on the tag. See the full explanation below for the reasoning.

Question

Consider the following code snippet:

Users of this Visualforce page complain that the page does a full refresh every time the Search button is pressed. What should the developer do to ensure that a partial refresh is made so that only the section identified with opportunityList is re-drawn on the screen?

Exhibit

PDII question #300 exhibit

Options

  • AEnclose the DATA table within the tag.
  • BEnsure the action method search returns null.
  • CImplement the tag with immediate = true.
  • DImplement the reRender attribute on the tag.

How the community answered

(28 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    11% (3)
  • D
    82% (23)

Community Discussion

No community discussion yet for this question.

Full PDII Practice