nerdexam
IBM

LOT-410 · Question #23

Sally wants to manually bind an Edit Box control to the LastName field on her document data source "contactDoc". Which is the correct syntax for the Edit Box?

The correct answer is C. <xp:inputText value="#{contactDoc.LastName}" id="form1"></xp:inputText>. See the full explanation below for the reasoning.

Question

Sally wants to manually bind an Edit Box control to the LastName field on her document data source "contactDoc". Which is the correct syntax for the Edit Box?

Options

  • A<xp:input value="#{contactDoc.LastName}" id="form1"></xp:input>
  • B<xp:editBox value="#{contactDoc.LastName}" id="form1"></xp:editBox>
  • C<xp:inputText value="#{contactDoc.LastName}" id="form1"></xp:inputText>
  • D<xp:inputText value="#{contactDoc.getComponent(LastName)}" id="form1"></xp:inputText>

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    83% (24)
  • D
    10% (3)

Community Discussion

No community discussion yet for this question.

Full LOT-410 Practice