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)- A13% (7)
- B7% (4)
- C4% (2)
- D77% (43)
Community Discussion
No community discussion yet for this question.