There are two different confirmation dialogs. The simplest dialog has the okCancel ID which, in addition to a question or a note, provides the two buttons Ok and Cancel. Cancel stops the execution of the complete command chain. With Ok the execution of the chain continues. The dialog with the yesNoCancel ID provides an additional button. In addition to the familiar Cancel it also provides the possibility to use Yes and No which both allow the execution of the command chain to be continued, but allow you to go two different ways in the subsequent commands of the chain, for example, in one case you can send a message and in the other you cannot.
In general, you can use several dialogs in a command chain however, all of the dialogs in a chain must have unique IDs. Information about how new dialogs are defined, for example, confirmation dialogs, in the event that you need several of them in a chain, can be found in the following.
Location |
XML file in the xml folder |
Procedure |
|
Remark |
If you defined your own dialog, use its ID. |
Documents |
commandChains.xsd, commandChains_*.xml |
Example |
ModifyObjectLifecycle \WEB-INF\config\custom\xml\testcase_catalog_custom.xml: Add custom dialog |