Page History
...
padding | 0px |
---|---|
width | 80px |
...
Table Row (tr) | |||||
---|---|---|---|---|---|
| |||||
|
...
Table Cell (td) |
---|
String |
...
Divcache | ||
---|---|---|
| DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
Div | ||
---|---|---|
| ||
The Dialogs plugin provides a few convenient functions to quickly show a dialog. It supports the following types of dialogs:
Currently this plugin is only supported in the Smart Client. ServoyForge 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. |
...
Table Cell (td) |
---|
String |
...
| |||||||||||||
...
...
Table Cell (td) |
---|
String |
...
...
...
Table Cell (td) |
---|
String |
...
...
Table Cell (td) |
---|
String |
...
...
Table Cell (td) |
---|
String |
...
...
...
Table Cell (td) |
---|
String |
...
...
Table Cell (td) |
---|
String |
...
...
Table Cell (td) |
---|
String |
...
Table Cell (td) |
---|
String |
...
...
...
Table Cell (td) |
---|
String |
...
...
...
Table Cell (td) |
---|
String |
...
...
id | class | Colgroup Tag | Column | | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Table Row (tr) | style | |||||||||||||
| ||||||||||||||
Table Body (tbody) | ||||||||||||||
|
Table Row (tr) | ||
---|---|---|
| ||
|
id | sig |
---|
Span | ||
---|---|---|
| ||
String |
Span | ||
---|---|---|
| ||
showErrorDialog |
showErrorDialog(dialogTitle, dialogMessage, buttonsText)
Shows a message dialog with the specified title, message and a customizable set of
id | prs |
---|
class | sIndent |
---|
{String} dialogMessage – Dialog message.
{String...} buttonsText –
buttons.
Returns pressed button text, in case window is closed without pressing any button return value depends on client type.
Parameters
Returns
Supported Clients
id | sam |
---|
class | lastDetailRow |
---|
id | showInfoDialog-String_String_StringArray |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
id | sig |
---|
Span | ||
---|---|---|
| ||
String |
Span | ||
---|---|---|
| ||
showInfoDialog |
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|
showInfoDialog(dialogTitle, dialogMessage, buttonsText)
Shows a message dialog with the specified title, message and a customizable set of buttons
id | prs |
---|
class | sIndent |
---|
{String} dialogMessage – Dialog message.
{String...} buttonsText –
.
Returns pressed button text, in case window is closed without pressing any button return value depends on client type.
Parameters
Returns
Supported Clients
id | sam |
---|
class | lastDetailRow |
---|
id | showInputDialog |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | showInputDialog-String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | showInputDialog-String_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | showInputDialog-String_String_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
id | sig |
---|
Span | ||
---|---|---|
| ||
String |
Span | ||
---|---|---|
| ||
showInputDialog |
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|
showInputDialog()
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Returns
Supported Clients
Sample
showInputDialog(dialog_title)
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Parameters
Returns
Supported Clients
Sample
showInputDialog(dialog_title, msg)
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Parameters
Returns
Supported Clients
Sample
showInputDialog(dialog_title, msg, initialValue)
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Parameters
{String} msg
{String} initialValue
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | showQuestionDialog-String_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
id | sig |
---|
Span | ||
---|---|---|
| ||
String |
Span | ||
---|---|---|
| ||
showQuestionDialog |
Returns
Supported Clients
Sample
showQuestionDialog(dialogTitle, dialogMessage)
Shows a message dialog with the specified title, message and a customizable set of
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | showQuestionDialog-String_String_StringArray |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
id | sig |
---|
Span | ||
---|---|---|
| ||
String |
Span | ||
---|---|---|
| ||
showQuestionDialog |
buttons.
Returns pressed button text, in case window is closed without pressing any button return value depends on client type.
Parameters
Returns
Supported Clients
Sample
showQuestionDialog(dialogTitle, dialogMessage, buttonsText)
Shows a message dialog with the specified title, message and a customizable set of buttons
id | prs |
---|
class | sIndent |
---|
{String} dialogMessage – Dialog message.
{String...} buttonsText –
.
Returns pressed button text, in case window is closed without pressing any button return value depends on client type.
Parameters
Returns
Supported Clients
id | sam |
---|
class | lastDetailRow |
---|
id | showSelectDialog-String_String_ObjectArray |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
id | sig |
---|
Span | ||
---|---|---|
| ||
String |
Span | ||
---|---|---|
| ||
showSelectDialog |
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|
showSelectDialog(dialog_title, msg, optionArray)
Shows a selection dialog, where the user can select an entry from a list of options. Returns the selected entry, or nothing when canceled.
Parameters
id | ret |
---|
{String} msg
{Object[]} optionArray
Returns
Supported Clients
id | sam |
---|
class | lastDetailRow |
---|
id | showSelectDialog-String_String_StringArray |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
id | sig |
---|
Span | ||
---|---|---|
| ||
String |
Span | ||
---|---|---|
| ||
showSelectDialog |
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|
showSelectDialog(dialog_title, msg, options)
Shows a selection dialog, where the user can select an entry from a list of options. Returns the selected entry, or nothing when canceled.
Parameters
div
id | ret |
---|
{String} msg
{String...} options
Returns
Supported Clients
class | lastDetailRow |
---|
id | showWarningDialog-String_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | showWarningDialog-String_String_StringArray |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
id | sig |
---|
Span | ||
---|---|---|
| ||
String |
Span | ||
---|---|---|
| ||
showWarningDialog |
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|
showWarningDialog(dialogTitle, dialogMessage)
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.
Parameters
Returns
Supported Clients
Sample
showWarningDialog(dialogTitle, dialogMessage, buttonsText)
Shows a message dialog with the specified title, message and a customizable set of
id | prs |
---|
class | sIndent |
---|
{String} dialogMessage – Dialog message.
{String...} buttonsText –
buttons.
Returns pressed button text, in case window is closed without pressing any button return value depends on client type.
Parameters
Returns
Supported Clients
id | sam |
---|
class | lastDetailRow |
---|
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|