nerdexam
IBM

LOT-409 · Question #108

Mark has added the Extension Library Dialog control to an XPage, accepting the default ID of "dialog1". He has added a button to launch the dialog. Which option will launch the dialog from the button?

The correct answer is C. On the Client tab of the onclick event of the button, add xsp. openDialog("# {id: dialog1}"). See the full explanation below for the reasoning.

Question

Mark has added the Extension Library Dialog control to an XPage, accepting the default ID of "dialog1". He has added a button to launch the dialog. Which option will launch the dialog from the button?

Options

  • AOn the Client tab of the onclick event of the button, add xsp . openDialog ("dialog1").
  • BOn the Server tab of the onclick event of the button, add xsp. openDialog ("dialog1").
  • COn the Client tab of the onclick event of the button, add xsp. openDialog("# {id: dialog1}").
  • DOn the Server tab of the onclick event of the button, add xsp. openDialog ("# {id: dialog1}").

How the community answered

(24 responses)
  • A
    4% (1)
  • B
    8% (2)
  • C
    75% (18)
  • D
    13% (3)

Community Discussion

No community discussion yet for this question.

Full LOT-409 Practice