IBM
C2180-279 · Question #81
When displaying native modal controls, the developer creates the following Worklight Common Control implementation: Assuming that the functions dialogYes, dialogNo and dialogHelp are properly…
The correct answer is A. The snippet will work as expected. See the full explanation below for the reasoning.
Question
When displaying native modal controls, the developer creates the following Worklight Common Control implementation:
Assuming that the functions dialogYes, dialogNo and dialogHelp are properly defined, what is expected to happen when this snippet is executed on a real device?
Exhibit
Options
- AThe snippet will work as expected.
- BThe snippet will fail because it is missing the mandatory options parameter.
- CThe snippet will fail to execute because WL.SimpleDialog does not support 3 or more buttons.
- DThe snippet will work on iOS and BlackBerry, but it will only show buttons Yes and No for Android
How the community answered
(65 responses)- A78% (51)
- B6% (4)
- C12% (8)
- D3% (2)
Community Discussion
No community discussion yet for this question.
