{hidden}
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 SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[String]{td}{td}[#showErrorDialog]\(dialog_title, msg, button1, button2, buttonN)
Shows a message dialog with the specified title, message and a customizable set of buttons.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#showInfoDialog]\(dialog_title, msg, button1, button2, buttonN)
Shows a message dialog with the specified title, message and a customizable set of buttons.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#showInputDialog]\(dialog_title, msg, initialValue)
Shows an input dialog where the user can enter data.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#showQuestionDialog]\(dialog_title, msg, button1, button2, buttonN)
Shows a message dialog with the specified title, message and a customizable set of buttons.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#showSelectDialog]\(dialog_title, msg, optionArray/option1, option2, optionN)
Shows a selection dialog, where the user can select an entry from a list of options.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#showWarningDialog]\(dialog_title, msg, button1, button2, buttonN)
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}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}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}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}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}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}