Oracle
1Z0-419 · Question #64
Consider the following code: <af:inputText valueChangeListener="#{myBean.handleChange}" .../> <af:commandButton actionListener= "#{myBean.doAction}" action="# {myBean.qetDestination}" .../> At run…
The correct answer is C. myBean.handleChange, myBean.doAction. See the full explanation below for the reasoning.
Question
Consider the following code:
<af:inputText valueChangeListener=”#{myBean.handleChange}” .../> <af:commandButton actionListener= ”#{myBean.doAction}” action=”# {myBean.qetDestination}” .../> At run time, a user modifies the value in the af:inputText control, then presses af:commandButton. Assuming no errors are raised, which option represents the managed bean code invoked in the correct order? (Choose the best answer.)
Options
- AmyBean handleChange, myBean doAction, myBean.qetDestination
- BmyBean.doAction, myBean handleChange, myBean.getDestination
- CmyBean.handleChange, myBean.doAction
- DmyBean.doAction, myBean.handleChange
How the community answered
(35 responses)- A3% (1)
- B3% (1)
- C83% (29)
- D11% (4)
Community Discussion
No community discussion yet for this question.