Child pages
  • dialogs

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
{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)
Wiki Markup
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy sSummary12%30%58%height: 30px;3Methods SummaryShows 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.

functionservoy sDetail2100%height:30px2Methods DetailsshowErrorDialogname

showErrorDialog(dialogTitle, dialogMessage, buttonsText)

dessIndent
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=32C46E07-5ADB-49B5-9D43-34CA3A4A117C}{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:32C46E07-5ADB-49B5-9D43-34CA3A4A117C_des|text=|trigger=button}{sub-section}{sub-section:32C46E07-5ADB-49B5-9D43-34CA3A4A117C_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

sIndentdialogTitleDialog title.dialogMessageDialog message.buttonsTextArray of button texts.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
showInfoDialogname

showInfoDialog(dialogTitle, dialogMessage, buttonsText)

dessIndent
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:32C46E07-5ADB-49B5-9D43-34CA3A4A117C_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:32C46E07-5ADB-49B5-9D43-34CA3A4A117C_prs|trigger=none}dialog_title msg button1 \[button2\] \[buttonN\] {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:32C46E07-5ADB-49B5-9D43-34CA3A4A117C_ret|text=|trigger=button}{sub-section}{sub-section:32C46E07-5ADB-49B5-9D43-34CA3A4A117C_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:32C46E07-5ADB-49B5-9D43-34CA3A4A117C_see|text=|trigger=button}{sub-section}{sub-section:32C46E07-5ADB-49B5-9D43-34CA3A4A117C_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:32C46E07-5ADB-49B5-9D43-34CA3A4A117C_see|text=|trigger=button}{sub-section}{sub-section:32C46E07-5ADB-49B5-9D43-34CA3A4A117C_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:32C46E07-5ADB-49B5-9D43-34CA3A4A117C_sam|text=|trigger=button}{sub-section}{sub-section:32C46E07-5ADB-49B5-9D43-34CA3A4A117C_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=6A7730D0-1778-476E-9E95-30CBBEF35C36}{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:6A7730D0-1778-476E-9E95-30CBBEF35C36_des|text=|trigger=button}{sub-section}{sub-section:6A7730D0-1778-476E-9E95-30CBBEF35C36_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:6A7730D0-1778-476E-9E95-30CBBEF35C36_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:6A7730D0-1778-476E-9E95-30CBBEF35C36_prs|trigger=none}dialog_title msg button1 \[button2\] \[buttonN\] {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:6A7730D0-1778-476E-9E95-30CBBEF35C36_ret|text=|trigger=button}{sub-section}{sub-section:6A7730D0-1778-476E-9E95-30CBBEF35C36_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:6A7730D0-1778-476E-9E95-30CBBEF35C36_see|text=|trigger=button}{sub-section}{sub-section:6A7730D0-1778-476E-9E95-30CBBEF35C36_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:6A7730D0-1778-476E-9E95-30CBBEF35C36_see|text=|trigger=button}{sub-section}{sub-section:6A7730D0-1778-476E-9E95-30CBBEF35C36_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:6A7730D0-1778-476E-9E95-30CBBEF35C36_sam|text=|trigger=button}{sub-section}{sub-section:6A7730D0-1778-476E-9E95-30CBBEF35C36_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=0E7E7FB9-20FE-454D-B883-55FFB14469E8}{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:0E7E7FB9-20FE-454D-B883-55FFB14469E8_des|text=|trigger=button}{sub-section}{sub-section:0E7E7FB9-20FE-454D-B883-55FFB14469E8_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

sIndentdialogTitleDialog title.dialogMessageDialog message.buttonsTextArray of button texts.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
showInputDialogname

showInputDialog()

dessIndent
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
showInputDialogname

showInputDialog(dialog_title)

dessIndent
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
prs

Parameters

sIndentdialog_title ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
showInputDialogname

showInputDialog(dialog_title, msg)

dessIndent
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
prs

Parameters

sIndentdialog_title ;msg ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
showInputDialogname

showInputDialog(dialog_title, msg, initialValue)

dessIndent
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:0E7E7FB9-20FE-454D-B883-55FFB14469E8_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:0E7E7FB9-20FE-454D-B883-55FFB14469E8_prs|trigger=none}dialog_title msg \[initialValue\] {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:0E7E7FB9-20FE-454D-B883-55FFB14469E8_ret|text=|trigger=button}{sub-section}{sub-section:0E7E7FB9-20FE-454D-B883-55FFB14469E8_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:0E7E7FB9-20FE-454D-B883-55FFB14469E8_see|text=|trigger=button}{sub-section}{sub-section:0E7E7FB9-20FE-454D-B883-55FFB14469E8_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:0E7E7FB9-20FE-454D-B883-55FFB14469E8_see|text=|trigger=button}{sub-section}{sub-section:0E7E7FB9-20FE-454D-B883-55FFB14469E8_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:0E7E7FB9-20FE-454D-B883-55FFB14469E8_sam|text=|trigger=button}{sub-section}{sub-section:0E7E7FB9-20FE-454D-B883-55FFB14469E8_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=036F2495-7C42-4C93-98B1-87BB6B53D7F6}{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:036F2495-7C42-4C93-98B1-87BB6B53D7F6_des|text=|trigger=button}{sub-section}{sub-section:036F2495-7C42-4C93-98B1-87BB6B53D7F6_des|trigger=none|class=sIndent}
prs

Parameters

sIndentdialog_title ;msg ;initialValue ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowshowQuestionDialogname

showQuestionDialog(dialogTitle, dialogMessage)

dessIndent
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

sIndentdialogTitleDialog title.dialogMessageDialog message.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
showQuestionDialogname

showQuestionDialog(dialogTitle, dialogMessage, buttonsText)

dessIndent
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:036F2495-7C42-4C93-98B1-87BB6B53D7F6_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:036F2495-7C42-4C93-98B1-87BB6B53D7F6_prs|trigger=none}dialog_title msg button1 \[button2\] \[buttonN\] {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:036F2495-7C42-4C93-98B1-87BB6B53D7F6_ret|text=|trigger=button}{sub-section}{sub-section:036F2495-7C42-4C93-98B1-87BB6B53D7F6_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:036F2495-7C42-4C93-98B1-87BB6B53D7F6_see|text=|trigger=button}{sub-section}{sub-section:036F2495-7C42-4C93-98B1-87BB6B53D7F6_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:036F2495-7C42-4C93-98B1-87BB6B53D7F6_see|text=|trigger=button}{sub-section}{sub-section:036F2495-7C42-4C93-98B1-87BB6B53D7F6_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:036F2495-7C42-4C93-98B1-87BB6B53D7F6_sam|text=|trigger=button}{sub-section}{sub-section:036F2495-7C42-4C93-98B1-87BB6B53D7F6_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=3721EC2F-A7A7-48F2-90A9-96AADCDDBAB8}{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:3721EC2F-A7A7-48F2-90A9-96AADCDDBAB8_des|text=|trigger=button}{sub-section}{sub-section:3721EC2F-A7A7-48F2-90A9-96AADCDDBAB8_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

sIndentdialogTitleDialog title.dialogMessageDialog message.buttonsTextArray of button texts.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
showSelectDialogname

showSelectDialog(dialog_title, msg, optionArray)

dessIndent
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:3721EC2F-A7A7-48F2-90A9-96AADCDDBAB8_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:3721EC2F-A7A7-48F2-90A9-96AADCDDBAB8_prs|trigger=none}dialog_title msg optionArray/option1 \[option2\] \[optionN\] {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:3721EC2F-A7A7-48F2-90A9-96AADCDDBAB8_ret|text=|trigger=button}{sub-section}{sub-section:3721EC2F-A7A7-48F2-90A9-96AADCDDBAB8_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:3721EC2F-A7A7-48F2-90A9-96AADCDDBAB8_see|text=|trigger=button}{sub-section}{sub-section:3721EC2F-A7A7-48F2-90A9-96AADCDDBAB8_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:3721EC2F-A7A7-48F2-90A9-96AADCDDBAB8_see|text=|trigger=button}{sub-section}{sub-section:3721EC2F-A7A7-48F2-90A9-96AADCDDBAB8_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:3721EC2F-A7A7-48F2-90A9-96AADCDDBAB8_sam|text=|trigger=button}{sub-section}{sub-section:3721EC2F-A7A7-48F2-90A9-96AADCDDBAB8_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=CF9DD317-6172-42A7-B7DB-54D164110014}{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:CF9DD317-6172-42A7-B7DB-54D164110014_des|text=|trigger=button}{sub-section}{sub-section:CF9DD317-6172-42A7-B7DB-54D164110014_des|trigger=none|class=sIndent}
prs

Parameters

sIndentdialog_title ;msg ;optionArray ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowshowSelectDialogname

showSelectDialog(dialog_title, msg, options)

dessIndent
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

sIndentdialog_title ;msg ;options ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
showWarningDialogname

showWarningDialog(dialogTitle, dialogMessage)

dessIndent
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

sIndentdialogTitleDialog title.dialogMessageDialog message.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
showWarningDialogname

showWarningDialog(dialogTitle, dialogMessage, buttonsText)

dessIndent
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:CF9DD317-6172-42A7-B7DB-54D164110014_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:CF9DD317-6172-42A7-B7DB-54D164110014_prs|trigger=none}dialog_title msg button1 \[button2\] \[buttonN\] {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:CF9DD317-6172-42A7-B7DB-54D164110014_ret|text=|trigger=button}{sub-section}{sub-section:CF9DD317-6172-42A7-B7DB-54D164110014_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:CF9DD317-6172-42A7-B7DB-54D164110014_see|text=|trigger=button}{sub-section}{sub-section:CF9DD317-6172-42A7-B7DB-54D164110014_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:CF9DD317-6172-42A7-B7DB-54D164110014_see|text=|trigger=button}{sub-section}{sub-section:CF9DD317-6172-42A7-B7DB-54D164110014_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:CF9DD317-6172-42A7-B7DB-54D164110014_sam|text=|trigger=button}{sub-section}{sub-section:CF9DD317-6172-42A7-B7DB-54D164110014_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

sIndentdialogTitleDialog title.dialogMessageDialog message.buttonsTextArray of button texts.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow