nerdexam
Oracle

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)
  • A
    4% (1)
  • B
    4% (1)
  • C
    74% (17)
  • D
    4% (1)
  • E
    13% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-419 Practice