PDII practice question 3 of 10

Which three Visualforce components can be used to initiate Ajax behavior to perform partial page updates? Choose 3 answers

Full set: 198 questions
Answer options
A:

A. <apex:actionSupport>

Correct answer
B:

B. <apex:commandLink>

Correct answer
C:

C. <apex:actionStatus>

D:

D. <apex:commandButton>

Correct answer
E:

E. <apex:form>

Correct Answer:
A. A. <apex:actionSupport>; B. B. <apex:commandLink>; D. D. <apex:commandButton>
Explanation

Visualforce offers several built-in tags capable of initiating asynchronous JavaScript and XML (AJAX) requests to perform partial page updates without requiring a full page refresh. The and components natively support the reRender attribute. When a user clicks these elements, they invoke controller actions and selectively refresh the DOM elements specified in the reRender attribute via an AJAX request. Furthermore, the component enables any standard Visualforce or HTML component to initiate an AJAX request triggered by specific client-side DOM events (such as onclick or onchange). Using these three components allows developers to build highly interactive, dynamic, and responsive user interfaces that selectively update parts of the page based on user interactions.

Why Incorrect

C. The component visually displays the state of an AJAX request (e.g., displaying a loading icon) but cannot actively initiate an AJAX request itself.
E. The component operates as a container to submit input data to the server but does not intrinsically initiate granular AJAX behavior or partial page DOM updates.

References

Salesforce Visualforce Developer Guide: "Standard Components," specific documentation pages for , , and detailing reRender attributes.

Salesforce Visualforce Developer Guide: "Partial Page Rendering," outlining techniques for initiating AJAX requests using action components.

Scroll to Top