Confirm Mixin
Description
This mixin is used to attach a JavaScript confirmation box to the onclick event of any component that implements ClientElement.
Depending on the mixin configuration, default javascript confirm or JQuery dialog box can be used.
Links
Name | Required | Java Type | Default Prefix | Default Value | Description |
---|---|---|---|---|---|
message | false | String | literal | Are you sure? | Confirmation message to display. |
title | false | String | literal | Confirmation | Dialog box title. |
validationMsg | false | String | literal | OK | Validation Button text. |
cancelMsg | false | String | literal | OK | Cancel Button text. |
isModal | false | String | literal | true | If this parameter is set to true, the user can't interact with the application while the confirmation box is displayed. |
isResizable | false | String | literal | false | If this parameter is set to true, the user can dynamically resize the confirmation box. |
isDraggable | false | String | literal | true | If this parameter is set to true, the user can drag the confirmation box. |
useDefaultConfirm | false | String | literal | false | If this parameter is set to true, default javascript alert is used. Otherwise, jquery dialog box is used, and can be customized with several parameters. Usable parameters in both configurations: message. Usable parameters when useDefaultConfirm = false: title, validationMsg, cancelMsg, isModal, isResizable, isDraggable, validationMsg, cancelMsg, isModal, isResizable, height |
ActionLink/Zone case (width jquery dialog):
You have clicked the link 0 times.