nerdexam
IBM

LOT-410 · Question #124

There is a case where the XPage needs to check for certain conditions of the XPage prior to submission to the server for processing. All data entry controls are configured with server-side…

The correct answer is D. XSP.addQuerySubmitListener(). See the full explanation below for the reasoning.

Question

There is a case where the XPage needs to check for certain conditions of the XPage prior to submission to the server for processing. All data entry controls are configured with server-side validators. Which XSP method could be used to prevent a page submission?

Options

  • AXSP.validateAll();
  • BXSP.allowSubmit = false;
  • CXSP.addPreSubmitListener();
  • DXSP.addQuerySubmitListener();

How the community answered

(56 responses)
  • A
    13% (7)
  • B
    7% (4)
  • C
    4% (2)
  • D
    77% (43)

Community Discussion

No community discussion yet for this question.

Full LOT-410 Practice