フリー問題

Salesforce Certified Platform Developer II のフリー問題 9 / 20 問目

問題文

A veterinary practice embeds a third-party drawing widget in a Visualforce page. When the vet finishes a sketch, the widget's JavaScript callback must hand the image to a controller method and get a saved record back. Which approach meets it?

選択肢

  1. Call the controller method straight from JavaScript with the class name and the method name, because a page's controller methods are exposed to the browser automatically once the page is saved.
  2. Declare an actionFunction inside the page's form and call the JavaScript name it generates from the widget's callback.
  3. Put an actionPoller on the page and let the widget write the image into a hidden input it submits.
  4. Declare an actionSupport on the form and call it by name from the widget's callback, because that component is the one that exposes a method to JavaScript.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。