Child pages
  • dialogs

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Rev: 1381948887907

...

HTML Table
id
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#showErrorDialogshowErrorDialog(dialogTitle, dialogMessage, buttonsText)
Shows a message dialog with the specified title, message and a customizable set of buttons.
Table Body (tbody)
tbody
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#showInfoDialogshowInfoDialog(dialogTitle, dialogMessage, buttonsText)
Shows a message dialog with the specified title, message and a customizable set of buttons.
tbody
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#showInputDialogshowInputDialog()
Shows an input dialog where the user can enter data.
tbody
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#showInputDialogshowInputDialog(dialog_title)
Shows an input dialog where the user can enter data.
tbody
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#showInputDialogshowInputDialog(dialog_title, msg)
Shows an input dialog where the user can enter data.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#showInputDialogshowInputDialog(dialog_title, msg, initialValue)
Shows an input dialog where the user can enter data.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#showQuestionDialogshowQuestionDialog(dialogTitle, dialogMessage)
Shows a message dialog with the specified title, message and a customizable set of buttons.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#showQuestionDialogshowQuestionDialog(dialogTitle, dialogMessage, buttonsText)
Shows a message dialog with the specified title, message and a customizable set of buttons.
tbody
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#showSelectDialogshowSelectDialog(dialog_title, msg, optionArray)
Shows a selection dialog, where the user can select an entry from a list of options.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#showSelectDialogshowSelectDialog(dialog_title, msg, options)
Shows a selection dialog, where the user can select an entry from a list of options.
tbody
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#showWarningDialogshowWarningDialog(dialogTitle, dialogMessage)
Shows a message dialog with the specified title, message and a customizable set of buttons.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#showWarningDialogshowWarningDialog(dialogTitle, dialogMessage, buttonsText)
Shows a message dialog with the specified title, message and a customizable set of buttons.

HTML Table
idfunction
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Method Details
Table Body (tbody)
idshowErrorDialog-String_String_StringArray
Table Row (tr)
idname
Table Cell (td)
showErrorDialog
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
showErrorDialog
Span
(dialogTitle, dialogMessage, buttonsText)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Shows a message dialog with the specified title, message and a customizable set of buttons.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} dialogTitle

...

- Dialog title.
{String} dialogMessage

...

- Dialog message.
{String...} buttonsText

...

- Array of button texts.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

//show dialog
var thePressedButton = plugins.dialogs.showErrorDialog('Title', 'Value not allowed','OK');

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idshowInfoDialog-String_String_StringArray
Table Row (tr)
idname
Table Cell (td)
showInfoDialog
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
showInfoDialog
Span
(dialogTitle, dialogMessage, buttonsText)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Shows a message dialog with the specified title, message and a customizable set of buttons.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} dialogTitle

...

- Dialog title.
{String} dialogMessage

...

- Dialog message.
{String...} buttonsText

...

- Array of button texts.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

//show dialog
var thePressedButton = plugins.dialogs.showInfoDialog('Title', 'Value not allowed','OK');

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idshowInputDialog
Table Row (tr)
idname
Table Cell (td)
showInputDialog
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
showInputDialog
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

//show input dialog ,returns nothing when canceled

...

var typedInput = plugins.dialogs.showInputDialog('Specify','Your name');

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idshowInputDialog-String
Table Row (tr)
idname
Table Cell (td)
showInputDialog
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
showInputDialog
Span
(dialog_title)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} dialog_title
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

//show input dialog ,returns nothing when canceled

...


var typedInput = plugins.dialogs.showInputDialog('Specify','Your name');

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idshowInputDialog-String_String
Table Row (tr)
idname
Table Cell (td)
showInputDialog
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
showInputDialog
Span
(dialog_title, msg)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} dialog_title
{String} msg
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

//show input dialog ,returns nothing when canceled

...


var typedInput = plugins.dialogs.showInputDialog('Specify','Your name');

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idshowInputDialog-String_String_String
Table Row (tr)
idname
Table Cell (td)
showInputDialog
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
showInputDialog
Span
(dialog_title, msg, initialValue)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} dialog_title
{String} msg
{String} initialValue
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

//show input dialog ,returns nothing when canceled

...

var typedInput = plugins.dialogs.showInputDialog('Specify','Your name');

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idshowQuestionDialog-String_String
Table Row (tr)
idname
Table Cell (td)
showQuestionDialog
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
showQuestionDialog
Span
(dialogTitle, dialogMessage)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Shows a message dialog with the specified title, message and a customizable set of buttons.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} dialogTitle

...

- Dialog title.
{String} dialogMessage

...

- Dialog message.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

//show dialog
var thePressedButton = plugins.dialogs.showQuestionDialog('Title', 'Value not allowed','OK');

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idshowQuestionDialog-String_String_StringArray
Table Row (tr)
idname
Table Cell (td)
showQuestionDialog
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
showQuestionDialog
Span
(dialogTitle, dialogMessage, buttonsText)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Shows a message dialog with the specified title, message and a customizable set of buttons.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} dialogTitle

...

- Dialog title.
{String} dialogMessage

...

- Dialog message.
{String...} buttonsText

...

- Array of button texts.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

//show dialog
var thePressedButton = plugins.dialogs.showQuestionDialog('Title', 'Value not allowed','OK');

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idshowSelectDialog-String_String_ObjectArray
Table Row (tr)
idname
Table Cell (td)
showSelectDialog
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
showSelectDialog
Span
(dialog_title, msg, optionArray)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Shows a selection dialog, where the user can select an entry from a list of options. Returns the selected entry, or nothing when canceled.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} dialog_title
{String} msg
{Object[]} optionArray
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

//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'));

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idshowSelectDialog-String_String_StringArray
Table Row (tr)
idname
Table Cell (td)
showSelectDialog
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
showSelectDialog
Span
(dialog_title, msg, options)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Shows a selection dialog, where the user can select an entry from a list of options. Returns the selected entry, or nothing when canceled.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} dialog_title
{String} msg
{String...} options
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

//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'));

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idshowWarningDialog-String_String
Table Row (tr)
idname
Table Cell (td)
showWarningDialog
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
showWarningDialog
Span
(dialogTitle, dialogMessage)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Shows a message dialog with the specified title, message and a customizable set of buttons.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} dialogTitle

...

- Dialog title.
{String} dialogMessage

...

- Dialog message.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

//show dialog
var thePressedButton = plugins.dialogs.showWarningDialog('Title', 'Value not allowed');

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idshowWarningDialog-String_String_StringArray
Table Row (tr)
idname
Table Cell (td)
showWarningDialog
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
showWarningDialog
Span
(dialogTitle, dialogMessage, buttonsText)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Shows a message dialog with the specified title, message and a customizable set of buttons.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} dialogTitle

...

- Dialog title.
{String} dialogMessage

...

- Dialog message.
{String...} buttonsText

...

- Array of button texts.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

//show dialog
var thePressedButton = plugins.dialogs.showWarningDialog('Title', 'Value not allowed','OK');

...

Table Row (tr)
classlastDetailRow
Table Cell (td)