<!--
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURC-->
Compatibility
This plugin is supported in the Smart Client only
{column:padding=0px|width=80px}{column}{column}{column}
Method Summery
showErrorDialog(dialog_title, msg, button1, [button2], [buttonN])
Shows a message dialog with the specified title, message and a customizable set of buttons.
showInfoDialog(dialog_title, msg, button1, [button2], [buttonN])
Shows a message dialog with the specified title, message and a customizable set of buttons.
showInputDialog(dialog_title, msg, [initialValue])
Shows an input dialog where the user can enter data.
showQuestionDialog(dialog_title, msg, button1, [button2], [buttonN])
Shows a message dialog with the specified title, message and a customizable set of buttons.
showSelectDialog(dialog_title, msg, optionArray/option1, [option2], [optionN])
Shows a selection dialog, where the user can select an entry from a list of options.
showWarningDialog(dialog_title, msg, button1, [button2], [buttonN])
Shows a message dialog with the specified title, message and a customizable set of buttons.
{column:padding=0px|width=100%}{column}
Method Details
showErrorDialog
(dialog_title, msg, button1, [button2], [buttonN])
Shows a message dialog with the specified title, message and a customizable set of buttons.
Since
Replace with version info
Parameters
dialog_title
msg
button1
[button2]
[buttonN]
Returns
[String]
Also see
External links
Sample
//show dialog var thePressedButton = plugins.dialogs.showErrorDialog('Title', 'Value not allowed','OK');
showInfoDialog
(dialog_title, msg, button1, [button2], [buttonN])
Shows a message dialog with the specified title, message and a customizable set of buttons.
Since
Replace with version info
Parameters
dialog_title
msg
button1
[button2]
[buttonN]
Returns
[String]
Also see
External links
Sample
//show dialog var thePressedButton = plugins.dialogs.showInfoDialog('Title', 'Value not allowed','OK');
showInputDialog
(dialog_title, msg, [initialValue])
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Since
Replace with version info
Parameters
dialog_title
msg
[initialValue]
Returns
[String]
Also see
External links
Sample
//show input dialog ,returns nothing when canceled var typedInput = plugins.dialogs.showInputDialog('Specify','Your name');
showQuestionDialog
(dialog_title, msg, button1, [button2], [buttonN])
Shows a message dialog with the specified title, message and a customizable set of buttons.
Since
Replace with version info
Parameters
dialog_title
msg
button1
[button2]
[buttonN]
Returns
[String]
Also see
External links
Sample
//show dialog var thePressedButton = plugins.dialogs.showQuestionDialog('Title', 'Value not allowed','OK');
showSelectDialog
(dialog_title, msg, optionArray/option1, [option2], [optionN])
Shows a selection dialog, where the user can select an entry from a list of options. Returns the selected entry, or nothing when canceled.
Since
Replace with version info
Parameters
dialog_title
msg
optionArray/option1
[option2]
[optionN]
Returns
[String]
Also see
External links
Sample
//show select,returns nothing when canceled var selectedValue = plugins.dialogs.showSelectDialog('Select','please select a name','jan','johan','sebastiaan'); //also possible to pass array with options //var selectedValue = plugins.dialogs.showSelectDialog('Select','please select a name', new Array('jan','johan','sebastiaan'));
showWarningDialog
(dialog_title, msg, button1, [button2], [buttonN])
Shows a message dialog with the specified title, message and a customizable set of buttons.
Since
Replace with version info
Parameters
dialog_title
msg
button1
[button2]
[buttonN]
Returns
[String]
Also see
External links
Sample
//show dialog var thePressedButton = plugins.dialogs.showWarningDialog('Title', 'Value not allowed','OK');