1Z0-419 · Question #3
Consider the JSF managed bean code to execute a function in ADF Business Components via an af:button actionListener on a page: public void doSomethinq(ActionEvent event) { BindingContainer bindings…
The correct answer is A. For the page definition file this code is called from, it must have a <methodAction> binding B. For the page definition file this code is called from, it must have a <parameter> binding mapped to C. An appModuleMethod function must exist in the ADF BC application module to call from the. See the full explanation below for the reasoning.
Question
Consider the JSF managed bean code to execute a function in ADF Business Components via an af:button actionListener on a page:
public void doSomethinq(ActionEvent event) { BindingContainer bindings = BindingContext getCurrent() getCurrentBindingsEntry(); OperationMethod method = bindings.getOperationBinding ("appModuleMethod"); Map paramsMap = method. getParamsMap(); paramsMap put CsomeParameter","someValue"); method.execute(); } Which three options must be implemented for this code to work? (Choose three.)
Options
- AFor the page definition file this code is called from, it must have a <methodAction> binding
- BFor the page definition file this code is called from, it must have a <parameter> binding mapped to
- CAn appModuleMethod function must exist in the ADF BC application module to call from the
- DAn appModuleMethod function must be exposed through the client interface editor of the ADF BC
How the community answered
(34 responses)- A71% (24)
- D29% (10)
Community Discussion
No community discussion yet for this question.