Which statement is true about the difference between an…

Which statement is true about the difference between an Action binding and a methodAction binding?
(Choose the best answer.)

Which statement is true about the difference between an Action binding and a methodAction binding?
(Choose the best answer.)

A.
None; they are used interchangeably.

B.
An Action binding is a binding to a method defined in the business service exposed through a data control,
whereas a methodAction binding is used to bind only to a method in a backing bean.

C.
Both are bindings to methods defined in a business service, but an Action binding is used to bind to a UI
component whereas a methodAction binding is only called programmatically from a backing bean.

D.
Both are bindings to methods defined in a business service, but a methodAction binding is used to bind to
a UI control whereas an Action binding is only called programmatically from a backing bean.

E.
Action bindings are used to bind to built-in operations such as Create, Delete and Next, whereas a
methodAction binding is used to bind to custom methods in the data control.

Explanation:
Action binding object can be used to bind command components, such as buttons or links, to built-in data
control operations (such as Commit or Rollback) or to built-in collection-level operations (such as Create,
Delete, Next, Previous, or ExecuteWithParams).
Method bindings are similar to action bindings. But, they are used to bind to methods defined in an ADF BC
application, view object, or view row client interfaces.References: http://xmlandmore.blogspot.se/2010/05/action-bindings-and-method-bindings-in.html



Leave a Reply 0

Your email address will not be published. Required fields are marked *