servoy sReturnTypes 2 100% height: 30px; 2 Supported Clients sWordList SmartClient sWordList WebClient sWordList NGClient sWordList MobileClient
servoy sSummary 12% 30% 58% height: 30px; 3 Methods Summary Shows a message dialog with the specified title, message and a customizable set of buttons. Shows a message dialog with the specified title, message and a customizable set of buttons. Shows an input dialog where the user can enter data. Shows an input dialog where the user can enter data. Shows an input dialog where the user can enter data. Shows an input dialog where the user can enter data. Shows a message dialog with the specified title, message and a customizable set of buttons. Shows a message dialog with the specified title, message and a customizable set of buttons. Shows a selection dialog, where the user can select an entry from a list of options. Shows a selection dialog, where the user can select an entry from a list of options. Shows a message dialog with the specified title, message and a customizable set of buttons. Shows a message dialog with the specified title, message and a customizable set of buttons.
function servoy sDetail 2 100% height:30px 2 Methods Details showErrorDialog name showErrorDialog(dialogTitle, dialogMessage, buttonsText) des sIndent Shows a message dialog with the specified title, message and a customizable set of buttons. {td}{tr}{tbody}{table}\\{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=776D1B02-12AC-45F7-96E4-2786A814AABC}{tr:id=name}{td}h6.showErrorDialog{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}showErrorDialog{span}{span:id=iets|style=float: left;}\(dialog_title, msg, button1, button2, buttonN){span}{td}{tr}{tr:id=des}{td}{sub-section:776D1B02-12AC-45F7-96E4-2786A814AABC_des|text=|trigger=button}{sub-section}{sub-section:776D1B02-12AC-45F7-96E4-2786A814AABC_des|trigger=none|class=sIndent}
Returns pressed button text, in case window is closed without pressing any button return value depends on client type. prs Parameters
sIndent dialogTitle Dialog title. dialogMessage Dialog message. buttonsText Array of button texts. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow showInfoDialog name showInfoDialog(dialogTitle, dialogMessage, buttonsText) des sIndent Shows a message dialog with the specified title, message and a customizable set of buttons. {sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:776D1B02-12AC-45F7-96E4-2786A814AABC_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:776D1B02-12AC-45F7-96E4-2786A814AABC_prs|trigger=none}dialog_title
msg
button1
\[button2\]
\[buttonN\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:776D1B02-12AC-45F7-96E4-2786A814AABC_ret|text=|trigger=button}{sub-section}{sub-section:776D1B02-12AC-45F7-96E4-2786A814AABC_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:776D1B02-12AC-45F7-96E4-2786A814AABC_see|text=|trigger=button}{sub-section}{sub-section:776D1B02-12AC-45F7-96E4-2786A814AABC_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:776D1B02-12AC-45F7-96E4-2786A814AABC_see|text=|trigger=button}{sub-section}{sub-section:776D1B02-12AC-45F7-96E4-2786A814AABC_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:776D1B02-12AC-45F7-96E4-2786A814AABC_sam|text=|trigger=button}{sub-section}{sub-section:776D1B02-12AC-45F7-96E4-2786A814AABC_sam|class=sIndent|trigger=none}{code:language=javascript}
//show dialog
var thePressedButton = plugins.dialogs.showErrorDialog('Title', 'Value not allowed','OK');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=CB3D39AD-2BEE-44F4-987D-1BBA6AA4C30E}{tr:id=name}{td}h6.showInfoDialog{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}showInfoDialog{span}{span:id=iets|style=float: left;}\(dialog_title, msg, button1, button2, buttonN){span}{td}{tr}{tr:id=des}{td}{sub-section:CB3D39AD-2BEE-44F4-987D-1BBA6AA4C30E_des|text=|trigger=button}{sub-section}{sub-section:CB3D39AD-2BEE-44F4-987D-1BBA6AA4C30E_des|trigger=none|class=sIndent}Shows a message dialog with the specified title, message and a customizable set of buttons.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:CB3D39AD-2BEE-44F4-987D-1BBA6AA4C30E_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:CB3D39AD-2BEE-44F4-987D-1BBA6AA4C30E_prs|trigger=none}dialog_title
msg
button1
\[button2\]
\[buttonN\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:CB3D39AD-2BEE-44F4-987D-1BBA6AA4C30E_ret|text=|trigger=button}{sub-section}{sub-section:CB3D39AD-2BEE-44F4-987D-1BBA6AA4C30E_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:CB3D39AD-2BEE-44F4-987D-1BBA6AA4C30E_see|text=|trigger=button}{sub-section}{sub-section:CB3D39AD-2BEE-44F4-987D-1BBA6AA4C30E_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:CB3D39AD-2BEE-44F4-987D-1BBA6AA4C30E_see|text=|trigger=button}{sub-section}{sub-section:CB3D39AD-2BEE-44F4-987D-1BBA6AA4C30E_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:CB3D39AD-2BEE-44F4-987D-1BBA6AA4C30E_sam|text=|trigger=button}{sub-section}{sub-section:CB3D39AD-2BEE-44F4-987D-1BBA6AA4C30E_sam|class=sIndent|trigger=none}{code:language=javascript}
//show dialog
var thePressedButton = plugins.dialogs.showInfoDialog('Title', 'Value not allowed','OK');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=E43058DC-05D7-4C27-A0F6-DFC143905FE8}{tr:id=name}{td}h6.showInputDialog{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}showInputDialog{span}{span:id=iets|style=float: left;}\(dialog_title, msg, initialValue){span}{td}{tr}{tr:id=des}{td}{sub-section:E43058DC-05D7-4C27-A0F6-DFC143905FE8_des|text=|trigger=button}{sub-section}{sub-section:E43058DC-05D7-4C27-A0F6-DFC143905FE8_des|trigger=none|class=sIndent}
Returns pressed button text, in case window is closed without pressing any button return value depends on client type. prs Parameters
sIndent dialogTitle Dialog title. dialogMessage Dialog message. buttonsText Array of button texts. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow showInputDialog name showInputDialog() des sIndent Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow showInputDialog name showInputDialog(dialog_title) des sIndent Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled. prs Parameters
sIndent dialog_title ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow showInputDialog name showInputDialog(dialog_title, msg) des sIndent Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled. prs Parameters
sIndent dialog_title ; msg ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow showInputDialog name showInputDialog(dialog_title, msg, initialValue) des sIndent Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled. {sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:E43058DC-05D7-4C27-A0F6-DFC143905FE8_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:E43058DC-05D7-4C27-A0F6-DFC143905FE8_prs|trigger=none}dialog_title
msg
\[initialValue\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:E43058DC-05D7-4C27-A0F6-DFC143905FE8_ret|text=|trigger=button}{sub-section}{sub-section:E43058DC-05D7-4C27-A0F6-DFC143905FE8_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:E43058DC-05D7-4C27-A0F6-DFC143905FE8_see|text=|trigger=button}{sub-section}{sub-section:E43058DC-05D7-4C27-A0F6-DFC143905FE8_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:E43058DC-05D7-4C27-A0F6-DFC143905FE8_see|text=|trigger=button}{sub-section}{sub-section:E43058DC-05D7-4C27-A0F6-DFC143905FE8_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:E43058DC-05D7-4C27-A0F6-DFC143905FE8_sam|text=|trigger=button}{sub-section}{sub-section:E43058DC-05D7-4C27-A0F6-DFC143905FE8_sam|class=sIndent|trigger=none}{code:language=javascript}
//show input dialog ,returns nothing when canceled
var typedInput = plugins.dialogs.showInputDialog('Specify','Your name');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=B22AE35C-F9B4-4F40-BCC3-3C34F2340E52}{tr:id=name}{td}h6.showQuestionDialog{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}showQuestionDialog{span}{span:id=iets|style=float: left;}\(dialog_title, msg, button1, button2, buttonN){span}{td}{tr}{tr:id=des}{td}{sub-section:B22AE35C-F9B4-4F40-BCC3-3C34F2340E52_des|text=|trigger=button}{sub-section}{sub-section:B22AE35C-F9B4-4F40-BCC3-3C34F2340E52_des|trigger=none|class=sIndent} prs Parameters
sIndent dialog_title ; msg ; initialValue ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow showQuestionDialog name showQuestionDialog(dialogTitle, dialogMessage) des sIndent Shows a message dialog with the specified title, message and a customizable set of buttons.
Returns pressed button text, in case window is closed without pressing any button return value depends on client type. prs Parameters
sIndent dialogTitle Dialog title. dialogMessage Dialog message. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow showQuestionDialog name showQuestionDialog(dialogTitle, dialogMessage, buttonsText) des sIndent Shows a message dialog with the specified title, message and a customizable set of buttons. {sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:B22AE35C-F9B4-4F40-BCC3-3C34F2340E52_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:B22AE35C-F9B4-4F40-BCC3-3C34F2340E52_prs|trigger=none}dialog_title
msg
button1
\[button2\]
\[buttonN\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:B22AE35C-F9B4-4F40-BCC3-3C34F2340E52_ret|text=|trigger=button}{sub-section}{sub-section:B22AE35C-F9B4-4F40-BCC3-3C34F2340E52_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:B22AE35C-F9B4-4F40-BCC3-3C34F2340E52_see|text=|trigger=button}{sub-section}{sub-section:B22AE35C-F9B4-4F40-BCC3-3C34F2340E52_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:B22AE35C-F9B4-4F40-BCC3-3C34F2340E52_see|text=|trigger=button}{sub-section}{sub-section:B22AE35C-F9B4-4F40-BCC3-3C34F2340E52_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:B22AE35C-F9B4-4F40-BCC3-3C34F2340E52_sam|text=|trigger=button}{sub-section}{sub-section:B22AE35C-F9B4-4F40-BCC3-3C34F2340E52_sam|class=sIndent|trigger=none}{code:language=javascript}
//show dialog
var thePressedButton = plugins.dialogs.showQuestionDialog('Title', 'Value not allowed','OK');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=193C69F8-15AC-414D-BA02-17B11C5FBBF9}{tr:id=name}{td}h6.showSelectDialog{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}showSelectDialog{span}{span:id=iets|style=float: left;}\(dialog_title, msg, optionArray/option1, option2, optionN){span}{td}{tr}{tr:id=des}{td}{sub-section:193C69F8-15AC-414D-BA02-17B11C5FBBF9_des|text=|trigger=button}{sub-section}{sub-section:193C69F8-15AC-414D-BA02-17B11C5FBBF9_des|trigger=none|class=sIndent}
Returns pressed button text, in case window is closed without pressing any button return value depends on client type. prs Parameters
sIndent dialogTitle Dialog title. dialogMessage Dialog message. buttonsText Array of button texts. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow showSelectDialog name showSelectDialog(dialog_title, msg, optionArray) des sIndent Shows a selection dialog, where the user can select an entry from a list of options. Returns the selected entry, or nothing when canceled. {sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:193C69F8-15AC-414D-BA02-17B11C5FBBF9_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:193C69F8-15AC-414D-BA02-17B11C5FBBF9_prs|trigger=none}dialog_title
msg
optionArray/option1
\[option2\]
\[optionN\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:193C69F8-15AC-414D-BA02-17B11C5FBBF9_ret|text=|trigger=button}{sub-section}{sub-section:193C69F8-15AC-414D-BA02-17B11C5FBBF9_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:193C69F8-15AC-414D-BA02-17B11C5FBBF9_see|text=|trigger=button}{sub-section}{sub-section:193C69F8-15AC-414D-BA02-17B11C5FBBF9_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:193C69F8-15AC-414D-BA02-17B11C5FBBF9_see|text=|trigger=button}{sub-section}{sub-section:193C69F8-15AC-414D-BA02-17B11C5FBBF9_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:193C69F8-15AC-414D-BA02-17B11C5FBBF9_sam|text=|trigger=button}{sub-section}{sub-section:193C69F8-15AC-414D-BA02-17B11C5FBBF9_sam|class=sIndent|trigger=none}{code:language=javascript}
//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'));
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=1E64AC8C-4A1F-47B4-B60D-AC82AC89D627}{tr:id=name}{td}h6.showWarningDialog{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}showWarningDialog{span}{span:id=iets|style=float: left;}\(dialog_title, msg, button1, button2, buttonN){span}{td}{tr}{tr:id=des}{td}{sub-section:1E64AC8C-4A1F-47B4-B60D-AC82AC89D627_des|text=|trigger=button}{sub-section}{sub-section:1E64AC8C-4A1F-47B4-B60D-AC82AC89D627_des|trigger=none|class=sIndent} prs Parameters
sIndent dialog_title ; msg ; optionArray ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow showSelectDialog name showSelectDialog(dialog_title, msg, options) des sIndent Shows a selection dialog, where the user can select an entry from a list of options. Returns the selected entry, or nothing when canceled. prs Parameters
sIndent dialog_title ; msg ; options ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow showWarningDialog name showWarningDialog(dialogTitle, dialogMessage) des sIndent Shows a message dialog with the specified title, message and a customizable set of buttons.
Returns pressed button text, in case window is closed without pressing any button return value depends on client type. prs Parameters
sIndent dialogTitle Dialog title. dialogMessage Dialog message. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow showWarningDialog name showWarningDialog(dialogTitle, dialogMessage, buttonsText) des sIndent Shows a message dialog with the specified title, message and a customizable set of buttons. {sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:1E64AC8C-4A1F-47B4-B60D-AC82AC89D627_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:1E64AC8C-4A1F-47B4-B60D-AC82AC89D627_prs|trigger=none}dialog_title
msg
button1
\[button2\]
\[buttonN\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:1E64AC8C-4A1F-47B4-B60D-AC82AC89D627_ret|text=|trigger=button}{sub-section}{sub-section:1E64AC8C-4A1F-47B4-B60D-AC82AC89D627_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:1E64AC8C-4A1F-47B4-B60D-AC82AC89D627_see|text=|trigger=button}{sub-section}{sub-section:1E64AC8C-4A1F-47B4-B60D-AC82AC89D627_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:1E64AC8C-4A1F-47B4-B60D-AC82AC89D627_see|text=|trigger=button}{sub-section}{sub-section:1E64AC8C-4A1F-47B4-B60D-AC82AC89D627_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:1E64AC8C-4A1F-47B4-B60D-AC82AC89D627_sam|text=|trigger=button}{sub-section}{sub-section:1E64AC8C-4A1F-47B4-B60D-AC82AC89D627_sam|class=sIndent|trigger=none}{code:language=javascript}
//show dialog
var thePressedButton = plugins.dialogs.showWarningDialog('Title', 'Value not allowed','OK');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}
Returns pressed button text, in case window is closed without pressing any button return value depends on client type. prs Parameters
sIndent dialogTitle Dialog title. dialogMessage Dialog message. buttonsText Array of button texts. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow