1Z0-419 · Question #19
The current page includes the following entries in its page definition file: <bindings> <attributeValues IterBinding="EmployeesView1Iterator" id="Email"> <AttrNames> <Item Value="Email"/>…
The correct answer is C. JUCtrlValueBmding. See the full explanation below for the reasoning.
Question
The current page includes the following entries in its page definition file:
<bindings> <attributeValues IterBinding="EmployeesView1Iterator" id="Email"> <AttrNames> <Item Value="Email"/> </AttrNames> </attributeValues> </bindings> Programmatically, in a managed bean, you need to read the current EmployeesView's email into a string. You write the following code to do this:
DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent ().getCurrentBindingsEntry(); XXXXXX emailBinding = (XXXXXX)bc.findCtrlBinding("Email"); String emailValue = emailBinding.getAttribute().getString(); What single class must you substitute for XXXXXX in the two locations in the code? (Choose the best answer.)
Options
- ACtrlBindmgContext
- BJUCtrlActionBinding
- CJUCtrlValueBmding
- DDCValueBinding
- EBCValueBinding
How the community answered
(23 responses)- A4% (1)
- B4% (1)
- C74% (17)
- D4% (1)
- E13% (3)
Community Discussion
No community discussion yet for this question.