exam questions

Exam Certified Platform Developer II All Questions

View all questions & answers for the Certified Platform Developer II exam

Exam Certified Platform Developer II topic 1 question 148 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 148
Topic #: 1
[All Certified Platform Developer II Questions]

Choose the correct definition for <apex:actionFunction>.

  • A. Allows for controller methods to be called directly from Javascript. Must be encapsulated in <apex:form> tags. Unlike actionSupport, these function<apex:actionPoller>s can be called directly from Javascript code
  • B. Sends an AJAX request according to the time interval you specify. If this ever gets re-rendered, it resets
  • C. Adds AJAX support to another component (e.g. onClick, onMouseUp, onFocus, etc.)
  • D. Can be associated with an AJAX request (actionFunction/actionSupport/actionPoller) and shows content conditionally depending on the status of the request (in progress/complete). Use the "id" field to specify name; use "status" field on related components to connect them
  • E. Signifies which components should be processed by the server when an AJAX request is generated
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
DJShetty
10 months, 1 week ago
Selected Answer: A
A is correct!
upvoted 1 times
...
karlikos
1 year, 8 months ago
A: provides support for invoking controller action methods directly from JavaScript code using an AJAX request. An <apex:actionFunction> component must be a child of an <apex:form> https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_actionFunction.htm
upvoted 2 times
...
Liquad
2 years, 3 months ago
apex:actionStatus A component that displays the status of an AJAX update request. An AJAX request can either be in progress or complete. Use this component to get user input for a controller method that does not correspond to a field on an sObject.
upvoted 1 times
...
Liquad
2 years, 3 months ago
apex:actionRegion. An area of a Visualforce page that demarcates which components should be processed by the Force.com server when an AJAX request is generated
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...