Oracle
1Z0-419 · Question #31
1Z0-419 Question #31: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-419 to reveal the answer and full explanation for question #31. The question stem and answer options stay visible for context.
Question
Your page contains the following code that is invoked on an action by the current user: <af:setPropertyListener from="#{applicant:surname}" to="#(...)" type="action"/> To receive the value from the to property of the af:setPropertyListener, you create a managed bean as follows: package view; public class Employee { String lastName; public void setLastName(String lastName) { this.lastName = lastName; } public String getLastName() { return lastName; } In the adfc-сonfig.xml file, the managed bean is configured as:> <managed-bean> <managed-bean-name>emp</managed-bean-name> <managed-bean-class>view. Employee</managed-bean-class> <managed bean-scope>pageFlowScope</managed-bean-scope> </managed-bean> What EL expression would you write in the af:setPropertyListener "to" property to write the value to the lastName string of the Employee class? (Choose the best answer.)
Options
- Ato="#{lastName}"
- BB.to="#{LastNamer
- CC.to="#{pageFlowScope.emp.lastName):
- Dto^frfpageFlowScopeEmplastName}"
- Eto="#{emp.lastName}e
- Fto="#{pageFlowScope emp LastName}"
Unlock 1Z0-419 to see the answer
You've previewed enough free 1Z0-419 questions. Unlock 1Z0-419 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.