Child pages
  • dialogs

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{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=}The Dialogs plugin provides a few convenient functions to quickly show a dialog. It supports the following types of dialogs:
* Error dialog
* Info dialog
* Input dialog
* Question dialog
* Select dialog
* Warning dialog

Currently this plugin is only  supported in the Smart Client. [ServoyForge|https://www.servoyforge.net] hosts a drop-in replacement for the Dialogs plugin adds support for the same type of Dialogs and this plugin, but then equally supported in both the Smart and Web Client. This Dialogs module can be found [here|https://www.servoyforge.net/projects/mod-dialog].{sub-section}\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:padding=0px|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_titledialogTitle, msg, \[...button\]dialogMessage)
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#showErrorDialog]\(dialog_titledialogTitle, msgdialogMessage, \[...button\]buttonsText)
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#showInfoDialog]\(dialog_titledialogTitle, msg, \[initialValue\]dialogMessage)
Shows ana inputmessage dialog wherewith the user can enter data specified title, message and a customizable set of buttons.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#showQuestionDialog#showInfoDialog]\(dialog_titledialogTitle, msgdialogMessage, \[...button\]buttonsText)
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#showInputDialog]\(dialog_title, msg, optionArray/option1, \[...option\])
Shows a selection dialog,)
Shows an input dialog where the user can select an entry from a list of optionsenter data.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#showWarningDialog#showInputDialog]\(dialog_title, msg, \[...button\])
Shows aan messageinput dialog withwhere the specifieduser title,can message and a customizable set of buttonsenter data.{td}{tr}{tbody}{tbody}{tabletr}\\ 

{table:id=function|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=showErrorDialog{td}[String]{td}{td}[#showInputDialog]\(dialog_title, msg)
Shows an input dialog where the user can enter data.{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]\(dialogTitle, dialogMessage)
Shows a message dialog with the specified title, message and a customizable set of buttons.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#showQuestionDialog]\(dialogTitle, dialogMessage, buttonsText)
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)
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}[#showSelectDialog]\(dialog_title, msg, options)
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]\(dialogTitle, dialogMessage)
Shows a message dialog with the specified title, message and a customizable set of buttons.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#showWarningDialog]\(dialogTitle, dialogMessage, buttonsText)
Shows a message dialog with the specified title, message and a customizable set of buttons.{td}{tr}{tbody}{table}\\ 

{table:id=function|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=showErrorDialog-String_String|class=node}{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;}\(dialogTitle, dialogMessage){span}{td}{tr}{tr:id=des}{td}{sub-section:showErrorDialog-String_String_des|text=|trigger=button}{sub-section}{sub-section:showErrorDialog-String_String_des|trigger=none|class=sIndent}Shows a message dialog with the specified title, message and a customizable set of buttons.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showErrorDialog-String_String_snc|text=|trigger=button}{sub-section}{sub-section:showErrorDialog-String_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showErrorDialog-String_String_prs|text=|trigger=button}{sub-section}{sub-section:showErrorDialog-String_String_prs|trigger=none|class=sIndent}\{[String]} dialogTitle -- Dialog title.
\{[String]} dialogMessage -- Dialog message.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showErrorDialog-String_String_ret|text=|trigger=button}{sub-section}{sub-section:showErrorDialog-String_String_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showErrorDialog-String_String_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showErrorDialog-String_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showErrorDialog-String_String_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showErrorDialog-String_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showErrorDialog-String_String_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showErrorDialog-String_String_sam|trigger=none}{code:language=javascript}
//show dialog
var thePressedButton = plugins.dialogs.showErrorDialog('Title', 'Value not allowed','OK');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showErrorDialog-String_String_StringArray|class=node}{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;}\(dialogTitle, dialogMessage, buttonsText){span}{td}{tr}{tr:id=des}{td}{sub-section:showErrorDialog-String_String_StringArray_des|text=|trigger=button}{sub-section}{sub-section:showErrorDialog-String_String_StringArray_des|trigger=none|class=sIndent}Shows a message dialog with the specified title, message and a customizable set of buttons.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showErrorDialog-String_String_StringArray_snc|text=|trigger=button}{sub-section}{sub-section:showErrorDialog-String_String_StringArray_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showErrorDialog-String_String_StringArray_prs|text=|trigger=button}{sub-section}{sub-section:showErrorDialog-String_String_StringArray_prs|trigger=none|class=sIndent}\{[String]} dialogTitle -- Dialog title.
\{[String]} dialogMessage -- Dialog message.
\{[String]...} buttonsText -- Array of button texts.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showErrorDialog-String_String_StringArray_ret|text=|trigger=button}{sub-section}{sub-section:showErrorDialog-String_String_StringArray_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showErrorDialog-String_String_StringArray_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showErrorDialog-String_String_StringArray_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showErrorDialog-String_String_StringArray_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showErrorDialog-String_String_StringArray_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showErrorDialog-String_String_StringArray_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showErrorDialog-String_String_StringArray_sam|trigger=none}{code:language=javascript}
//show dialog
var thePressedButton = plugins.dialogs.showErrorDialog('Title', 'Value not allowed','OK');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showInfoDialog-String_String|class=node}{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;}\(dialogTitle, dialogMessage){span}{td}{tr}{tr:id=des}{td}{sub-section:showInfoDialog-String_String_des|text=|trigger=button}{sub-section}{sub-section:showInfoDialog-String_String_des|trigger=none|class=sIndent}Shows a message dialog with the specified title, message and a customizable set of buttons.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showInfoDialog-String_String_snc|text=|trigger=button}{sub-section}{sub-section:showInfoDialog-String_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showInfoDialog-String_String_prs|text=|trigger=button}{sub-section}{sub-section:showInfoDialog-String_String_prs|trigger=none|class=sIndent}\{[String]} dialogTitle -- Dialog title.
\{[String]} dialogMessage -- Dialog message.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showInfoDialog-String_String_ret|text=|trigger=button}{sub-section}{sub-section:showInfoDialog-String_String_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showInfoDialog-String_String_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInfoDialog-String_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showInfoDialog-String_String_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInfoDialog-String_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showInfoDialog-String_String_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInfoDialog-String_String_sam|trigger=none}{code:language=javascript}
//show dialog
var thePressedButton = plugins.dialogs.showInfoDialog('Title', 'Value not allowed','OK');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showInfoDialog-String_String_StringArray|class=node}{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;}\(dialogTitle, dialogMessage, buttonsText){span}{td}{tr}{tr:id=des}{td}{sub-section:showInfoDialog-String_String_StringArray_des|text=|trigger=button}{sub-section}{sub-section:showInfoDialog-String_String_StringArray_des|trigger=none|class=sIndent}Shows a message dialog with the specified title, message and a customizable set of buttons.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showInfoDialog-String_String_StringArray_snc|text=|trigger=button}{sub-section}{sub-section:showInfoDialog-String_String_StringArray_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showInfoDialog-String_String_StringArray_prs|text=|trigger=button}{sub-section}{sub-section:showInfoDialog-String_String_StringArray_prs|trigger=none|class=sIndent}\{[String]} dialogTitle -- Dialog title.
\{[String]} dialogMessage -- Dialog message.
\{[String]...} buttonsText -- Array of button texts.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showInfoDialog-String_String_StringArray_ret|text=|trigger=button}{sub-section}{sub-section:showInfoDialog-String_String_StringArray_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showInfoDialog-String_String_StringArray_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInfoDialog-String_String_StringArray_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showInfoDialog-String_String_StringArray_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInfoDialog-String_String_StringArray_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showInfoDialog-String_String_StringArray_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInfoDialog-String_String_StringArray_sam|trigger=none}{code:language=javascript}
//show dialog
var thePressedButton = plugins.dialogs.showInfoDialog('Title', 'Value not allowed','OK');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showInputDialog|class=node}{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;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:showInputDialog_des|text=|trigger=button}{sub-section}{sub-section:showInputDialog_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}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showInputDialog_snc|text=|trigger=button}{sub-section}{sub-section:showInputDialog_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:showInputDialog_prs|text=|trigger=button}{sub-section}{sub-section:showInputDialog_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:showInputDialog_ret|text=|trigger=button}{sub-section}{sub-section:showInputDialog_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showInputDialog_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInputDialog_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showInputDialog_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInputDialog_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showInputDialog_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInputDialog_sam|trigger=none}{code:language=javascript}
//show input dialog ,returns nothing when canceled 
var typedInput = plugins.dialogs.showInputDialog('Specify','Your name');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showInputDialog-String|class=node}{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){span}{td}{tr}{tr:id=des}{td}{sub-section:showInputDialog-String_des|text=|trigger=button}{sub-section}{sub-section:showInputDialog-String_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}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showInputDialog-String_snc|text=|trigger=button}{sub-section}{sub-section:showInputDialog-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showInputDialog-String_prs|text=|trigger=button}{sub-section}{sub-section:showInputDialog-String_prs|trigger=none|class=sIndent}\{[String]} dialog_title
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showInputDialog-String_ret|text=|trigger=button}{sub-section}{sub-section:showInputDialog-String_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showInputDialog-String_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInputDialog-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showInputDialog-String_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInputDialog-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showInputDialog-String_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInputDialog-String_sam|trigger=none}{code:language=javascript}
//show input dialog ,returns nothing when canceled 
var typedInput = plugins.dialogs.showInputDialog('Specify','Your name');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showInputDialog-String_String|class=node}{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){span}{td}{tr}{tr:id=des}{td}{sub-section:showInputDialog-String_String_des|text=|trigger=button}{sub-section}{sub-section:showInputDialog-String_String_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}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showInputDialog-String_String_snc|text=|trigger=button}{sub-section}{sub-section:showInputDialog-String_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showInputDialog-String_String_prs|text=|trigger=button}{sub-section}{sub-section:showInputDialog-String_String_prs|trigger=none|class=sIndent}\{[String]} dialog_title
\{[String]} msg
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showInputDialog-String_String_ret|text=|trigger=button}{sub-section}{sub-section:showInputDialog-String_String_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showInputDialog-String_String_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInputDialog-String_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showInputDialog-String_String_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInputDialog-String_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showInputDialog-String_String_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInputDialog-String_String_sam|trigger=none}{code:language=javascript}
//show input dialog ,returns nothing when canceled 
var typedInput = plugins.dialogs.showInputDialog('Specify','Your name');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showInputDialog-String_String_String|class=node}{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:showInputDialog-String_String_String_des|text=|trigger=button}{sub-section}{sub-section:showInputDialog-String_String_String_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}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showInputDialog-String_String_String_snc|text=|trigger=button}{sub-section}{sub-section:showInputDialog-String_String_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showInputDialog-String_String_String_prs|text=|trigger=button}{sub-section}{sub-section:showInputDialog-String_String_String_prs|trigger=none|class=sIndent}\{[String]} dialog_title
\{[String]} msg
\{[String]} initialValue
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showInputDialog-String_String_String_ret|text=|trigger=button}{sub-section}{sub-section:showInputDialog-String_String_String_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showInputDialog-String_String_String_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInputDialog-String_String_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showInputDialog-String_String_String_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInputDialog-String_String_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showInputDialog-String_String_String_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInputDialog-String_String_String_sam|trigger=none}{code:language=javascript}
//show input dialog ,returns nothing when canceled 
var typedInput = plugins.dialogs.showInputDialog('Specify','Your name');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showQuestionDialog-String_String|class=node}{tr:id=name}{td}h6.showErrorDialogshowQuestionDialog{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}showErrorDialogshowQuestionDialog{span}{span:id=iets|style=float: left;}\(dialog_title, msg, \[...button\](dialogTitle, dialogMessage){span}{td}{tr}{tr:id=des}{td}{sub-section:showErrorDialogshowQuestionDialog-String_String_des|text=|trigger=button}{sub-section}{sub-section:showErrorDialogshowQuestionDialog-String_String_des|trigger=none|class=sIndent}Shows a message dialog with the specified title, message and a customizable set of buttons.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showErrorDialogshowQuestionDialog-String_String_snc|text=|trigger=button}{sub-section}{sub-section:showErrorDialogshowQuestionDialog-String_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showErrorDialogshowQuestionDialog-String_String_prs|text=|trigger=button}{sub-section}{sub-section:showErrorDialogshowQuestionDialog-String_String_prs|trigger=none|class=sIndent}dialog_title
msg
\[...button\]}\{[String]} dialogTitle -- Dialog title.
\{[String]} dialogMessage -- Dialog message.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showErrorDialogshowQuestionDialog-String_String_ret|text=|trigger=button}{sub-section}{sub-section:showErrorDialogshowQuestionDialog-String_String_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showErrorDialogshowQuestionDialog-String_String_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showErrorDialogshowQuestionDialog-String_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showErrorDialogshowQuestionDialog-String_String_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showErrorDialogshowQuestionDialog-String_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showErrorDialogshowQuestionDialog-String_String_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showErrorDialogshowQuestionDialog-String_String_sam|trigger=none}{code:language=javascript}
//show dialog
var thePressedButton = plugins.dialogs.showErrorDialogshowQuestionDialog('Title', 'Value not allowed','OK');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showInfoDialogshowQuestionDialog-String_String_StringArray|class=node}{tr:id=name}{td}h6.showInfoDialogshowQuestionDialog{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}showInfoDialogshowQuestionDialog{span}{span:id=iets|style=float: left;}\(dialog_titledialogTitle, msgdialogMessage, \[...button\]buttonsText){span}{td}{tr}{tr:id=des}{td}{sub-section:showInfoDialogshowQuestionDialog-String_String_StringArray_des|text=|trigger=button}{sub-section}{sub-section:showInfoDialogshowQuestionDialog-String_String_StringArray_des|trigger=none|class=sIndent}Shows a message dialog with the specified title, message and a customizable set of buttons.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showInfoDialogshowQuestionDialog-String_String_StringArray_snc|text=|trigger=button}{sub-section}{sub-section:showInfoDialog-section:showQuestionDialog-String_String_StringArray_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showInfoDialogshowQuestionDialog-String_String_StringArray_prs|text=|trigger=button}{sub-section}{sub-section:showInfoDialogshowQuestionDialog-String_String_StringArray_prs|trigger=none|class=sIndent}dialog_title
msg
\[...button\]\{[String]} dialogTitle -- Dialog title.
\{[String]} dialogMessage -- Dialog message.
\{[String]...} buttonsText -- Array of button texts.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showInfoDialogshowQuestionDialog-String_String_StringArray_ret|text=|trigger=button}{sub-section}{sub-section:showInfoDialogshowQuestionDialog-String_String_StringArray_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showInfoDialog:showQuestionDialog-String_String_StringArray_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInfoDialogshowQuestionDialog-String_String_StringArray_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showInfoDialogshowQuestionDialog-String_String_StringArray_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInfoDialogshowQuestionDialog-String_String_StringArray_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showInfoDialogshowQuestionDialog-String_String_StringArray_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInfoDialogshowQuestionDialog-String_String_StringArray_sam|trigger=none}{code:language=javascript}
//show dialog
var thePressedButton = plugins.dialogs.showInfoDialogshowQuestionDialog('Title', 'Value not allowed','OK');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showInputDialogshowSelectDialog-String_String_ObjectArray|class=node}{tr:id=name}{td}h6.showInputDialogshowSelectDialog{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}showInputDialogshowSelectDialog{span}{span:id=iets|style=float: left;}\(dialog_title, msg, \[initialValue\]optionArray){span}{td}{tr}{tr:id=des}{td}{sub-section:showInputDialogshowSelectDialog-String_String_ObjectArray_des|text=|trigger=button}{sub-section}{sub-section:showInputDialogshowSelectDialog-String_String_ObjectArray_des|trigger=none|class=sIndent}Shows ana inputselection dialog, where the user can enter data user can select an entry from a list of options. Returns the enteredselected dataentry, or nothing when canceled.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showInputDialogshowSelectDialog-String_String_ObjectArray_snc|text=|trigger=button}{sub-section}{sub-section:showInputDialogshowSelectDialog-String_String_ObjectArray_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showInputDialogshowSelectDialog-String_String_ObjectArray_prs|text=|trigger=button}{sub-section}{sub-section:showInputDialogshowSelectDialog-String_String_ObjectArray_prs|trigger=none|class=sIndent}\{[String]} dialog_title
\{[String]} msg
\{[initialValueObject]\[]} optionArray
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showInputDialogshowSelectDialog-String_String_ObjectArray_ret|text=|trigger=button}{sub-section}{sub-section:showInputDialogshowSelectDialog-String_String_ObjectArray_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showInputDialogshowSelectDialog-String_String_ObjectArray_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInputDialogshowSelectDialog-String_String_ObjectArray_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showInputDialogshowSelectDialog-String_String_ObjectArray_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInputDialogshowSelectDialog-String_String_ObjectArray_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showInputDialogshowSelectDialog-String_String_ObjectArray_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showInputDialogshowSelectDialog-String_String_ObjectArray_sam|trigger=none}{code:language=javascript}
//show input dialog select,returns nothing when canceled 
var typedInput 
var selectedValue = plugins.dialogs.showSelectDialog('Select','please select a name','jan','johan','sebastiaan');
//also possible to pass array with options
//var selectedValue = plugins.dialogs.showInputDialogshowSelectDialog('SpecifySelect','Yourplease select a name', new Array('jan','johan','sebastiaan'));
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showQuestionDialogshowSelectDialog-String_String_StringArray|class=node}{tr:id=name}{td}h6.showQuestionDialogshowSelectDialog{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}showQuestionDialogshowSelectDialog{span}{span:id=iets|style=float: left;}\(dialog_title, msg, \[...button\]options){span}{td}{tr}{tr:id=des}{td}{sub-section:showQuestionDialogshowSelectDialog-String_String_StringArray_des|text=|trigger=button}{sub-section}{sub-section:showQuestionDialogshowSelectDialog-String_String_StringArray_des|trigger=none|class=sIndent}Shows a messageselection dialog with, where the user can select an entry from a list of options. Returns the specifiedselected titleentry, messageor andnothing a customizable set of buttonswhen canceled.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showQuestionDialogshowSelectDialog-String_String_StringArray_snc|text=|trigger=button}{sub-section}{sub-section:showQuestionDialogshowSelectDialog-String_String_StringArray_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showQuestionDialogshowSelectDialog-String_String_StringArray_prs|text=|trigger=button}{sub-section}{sub-section:showQuestionDialogshowSelectDialog-String_String_StringArray_prs|trigger=none|class=sIndent}\{[String]} dialog_title
\{[String]} msg
\{[String]...button\]} options
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showQuestionDialogshowSelectDialog-String_String_StringArray_ret|text=|trigger=button}{sub-section}{sub-section:showQuestionDialogshowSelectDialog-String_String_StringArray_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showQuestionDialogshowSelectDialog-String_String_StringArray_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showQuestionDialogshowSelectDialog-String_String_StringArray_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showQuestionDialogshowSelectDialog-String_String_StringArray_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showQuestionDialogshowSelectDialog-String_String_StringArray_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showQuestionDialogshowSelectDialog-String_String_StringArray_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showQuestionDialog_sam|trigger=none}{code:language=javascript}
//show dialog
var thePressedButtonshowSelectDialog-String_String_StringArray_sam|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.showQuestionDialogshowSelectDialog('TitleSelect','please select a name'Value, not allowednew Array('jan','johan','OKsebastiaan'));
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showSelectDialogshowWarningDialog-String_String|class=node}{tr:id=name}{td}h6.showSelectDialogshowWarningDialog{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}showSelectDialogshowWarningDialog{span}{span:id=iets|style=float: left;}\(dialog_title, msg, optionArray/option1, \[...option\]\(dialogTitle, dialogMessage){span}{td}{tr}{tr:id=des}{td}{sub-section:showSelectDialogshowWarningDialog-String_String_des|text=|trigger=button}{sub-section}{sub-section:showSelectDialogshowWarningDialog-String_String_des|trigger=none|class=sIndent}Shows a selectionmessage dialog, wherewith the userspecified cantitle, selectmessage anand entrya fromcustomizable a listset of options. Returns the selected entry, or nothing when canceled.buttons.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showSelectDialogshowWarningDialog-String_String_snc|text=|trigger=button}{sub-section}{sub-section:showSelectDialogshowWarningDialog-String_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showSelectDialogshowWarningDialog-String_String_prs|text=|trigger=button}{sub-section}{sub-section:showSelectDialogshowWarningDialog-String_String_prs|trigger=none|class=sIndent}dialog_title
msg
optionArray/option1
\[...option\]}\{[String]} dialogTitle -- Dialog title.
\{[String]} dialogMessage -- Dialog message.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showSelectDialogshowWarningDialog-String_String_ret|text=|trigger=button}{sub-section}{sub-section:showSelectDialogshowWarningDialog-String_String_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showSelectDialogshowWarningDialog-String_String_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showSelectDialogshowWarningDialog-String_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showSelectDialogshowWarningDialog-String_String_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showSelectDialogshowWarningDialog-String_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showSelectDialogshowWarningDialog-String_String_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showSelectDialogshowWarningDialog-String_String_sam|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}{code:language=javascript}
//show dialog
var thePressedButton = plugins.dialogs.showSelectDialogshowWarningDialog('SelectTitle','please select a name',Value new Array('jannot allowed','johan','sebastiaanOK'));
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showWarningDialog=showWarningDialog-String_String_StringArray|class=node}{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_titledialogTitle, msgdialogMessage, \[...button\]buttonsText){span}{td}{tr}{tr:id=des}{td}{sub-section:showWarningDialog-String_String_StringArray_des|text=|trigger=button}{sub-section}{sub-section:showWarningDialog-String_String_StringArray_des|trigger=none|class=sIndent}Shows a message dialog with the specified title, message and a customizable set of buttons.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showWarningDialog-String_String_StringArray_snc|text=|trigger=button}{sub-section}{sub-section:showWarningDialog-String_String_StringArray_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showWarningDialog-String_String_StringArray_prs|text=|trigger=button}{sub-section}{sub-section:showWarningDialog_prs|trigger=none|class=sIndent}dialog_title
msg
\[...button\]-section}{sub-section:showWarningDialog-String_String_StringArray_prs|trigger=none|class=sIndent}\{[String]} dialogTitle -- Dialog title.
\{[String]} dialogMessage -- Dialog message.
\{[String]...} buttonsText -- Array of button texts.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showWarningDialog-String_String_StringArray_ret|text=|trigger=button}{sub-section}{sub-section:showWarningDialog-String_String_StringArray_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showWarningDialog-String_String_StringArray_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showWarningDialog-String_String_StringArray_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showWarningDialog-String_String_StringArray_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showWarningDialog-String_String_StringArray_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showWarningDialog-String_String_StringArray_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showWarningDialog-String_String_StringArray_sam|trigger=none}{code:language=javascript}
//show dialog
var thePressedButton = plugins.dialogs.showWarningDialog('Title', 'Value not allowed','OK');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}