May 05, 2024 18:22 Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients SampleSupported Clients
SmartClient
WebClient
NGClient
Constants Summary
String
ALLOW_JAVASCRIPT_LINK_INPUT
Property that can be set using element.
String
COMBOBOX_ENABLE_FILTER
Property that can be set using application.
String
COMBOBOX_SHOW_POPUP_ON_FOCUS_GAIN
Property that can be set using application.
String
DATE_FORMATTERS_LENIENT
Property that can be set using application.
String
DATE_FORMATTERS_ROLL_INSTEAD_OF_ADD
Property that can be set using application.
String
HTML_EDITOR_CONFIGURATION
Property that can be set on editable html area using element.
String
LEAVE_FIELDS_READONLY_IN_FIND_MODE
Property that can be set using application.
String
NG_BLOCK_DUPLICATE_EVENTS
Property that can be set using application.
String
TABLEVIEW_NG_OPTIMIZED_READONLY_MODE
Property that can be set using application.
String
TABLEVIEW_NG_PAGE_SIZE_FACTOR
Property that can be set using application.
String
TABLEVIEW_WC_DEFAULT_SCROLLABLE
Property that can be set using application.
String
TABLEVIEW_WC_SCROLLABLE_KEEP_LOADED_ROWS
Property that can be set using application.
String
TABLEVIEW_WC_USE_KEY_NAVIGATION
Property that can be set using application.
String
TOOLTIP_DISMISS_DELAY
Property that can be set using application.
String
TOOLTIP_INITIAL_DELAY
Property that can be set using application.
String
TYPE_AHEAD_SHOW_POPUP_ON_FOCUS_GAIN
Property that can be set using application.
String
TYPE_AHEAD_SHOW_POPUP_WHEN_EMPTY
Property that can be set using application.
String
USE_SYSTEM_PRINT_DIALOG
Property that can be set using application.
String
VALUELIST_MAX_ROWS
Property that can be set using application.
Constants Details
ALLOW_JAVASCRIPT_LINK_INPUT
element.putClientProperty(APP_UI_PROPERTY.ALLOW_JAVASCRIPT_LINK_INPUT, true)
COMBOBOX_ENABLE_FILTER
// make all COMBOBOX fields hide the search box when gaining focus
application.putClientProperty(APP_UI_PROPERTY.COMBOBOX_ENABLE_FILTER, false);
COMBOBOX_SHOW_POPUP_ON_FOCUS_GAIN
// make all COMBOBOX fields not show the pop-up when gaining focus
application.putClientProperty(APP_UI_PROPERTY.COMBOBOX_SHOW_POPUP_ON_FOCUS_GAIN, false);
// make one COMBOBOX field show the pop-up when gaining focus - overrides the application property set
forms.someForm.elements.comboboxElement.putClientProperty(APP_UI_PROPERTY.COMBOBOX_SHOW_POPUP_ON_FOCUS_GAIN, true);
DATE_FORMATTERS_LENIENT
// make all date formatted fields (created after this line is executed) not use lenient mode
application.putClientProperty(APP_UI_PROPERTY.DATE_FORMATTERS_LENIENT, false);
// make one date formatted field use lenient mode - overrides the application property set
forms.someForm.elements.typeAheadElement.putClientProperty(APP_UI_PROPERTY.DATE_FORMATTERS_LENIENT, true);
DATE_FORMATTERS_ROLL_INSTEAD_OF_ADD
// make all date formatted fields use roll instead of add
application.putClientProperty(APP_UI_PROPERTY.DATE_FORMATTERS_ROLL_INSTEAD_OF_ADD, true);
// make one date formatted field use add instead of roll - overrides the application property set
forms.someForm.elements.typeAheadElement.putClientProperty(APP_UI_PROPERTY.DATE_FORMATTERS_ROLL_INSTEAD_OF_ADD, false);
HTML_EDITOR_CONFIGURATION
// adding a new TinyMCE plugin (same for skin or theme)
// this code assumes plugin.min.js was copied in web server at specified path
// NOTE: we use external plugin, not plugin, in order for file to be accessible from web server; for this example, pluging.min.js file must be copied under ServoyInstall/application_server/server/webapps/ROOT/tinymce/plugins/link
element.putClientProperty(APP_UI_PROPERTY.HTML_EDITOR_CONFIGURATION, '{external_plugins: { "link": "../../../tinymce/plugins/link/plugin.min.js"}}')
// change the editor configuration (add menubar, status bar and change toolbar)
element.putClientProperty(APP_UI_PROPERTY.HTML_EDITOR_CONFIGURATION, '{menubar: "tools table format view insert edit", statusbar : true, toolbar: "undo redo | styleselect | bold italic"}')
LEAVE_FIELDS_READONLY_IN_FIND_MODE
application.putClientProperty(APP_UI_PROPERTY.LEAVE_FIELDS_READONLY_IN_FIND_MODE, true)
NG_BLOCK_DUPLICATE_EVENTS
application.putClientProperty(APP_UI_PROPERTY.NG_BLOCK_DUPLICATE_EVENTS, true)
TABLEVIEW_NG_OPTIMIZED_READONLY_MODE
application.putClientProperty(APP_UI_PROPERTY.TABLEVIEW_NG_OPTIMIZED_READONLY_MODE, true)
TABLEVIEW_NG_PAGE_SIZE_FACTOR
application.putClientProperty(APP_UI_PROPERTY.TABLEVIEW_NG_PAGE_SIZE_FACTOR, 3)
TABLEVIEW_WC_DEFAULT_SCROLLABLE
application.putClientProperty(APP_UI_PROPERTY.TABLEVIEW_WC_DEFAULT_SCROLLABLE, true)
TABLEVIEW_WC_SCROLLABLE_KEEP_LOADED_ROWS
application.putClientProperty(APP_UI_PROPERTY.TABLEVIEW_WC_SCROLLABLE_KEEP_LOADED_ROWS, true)
TABLEVIEW_WC_USE_KEY_NAVIGATION
application.putClientProperty(APP_UI_PROPERTY.TABLEVIEW_WC_USE_KEY_NAVIGATION, false)
TOOLTIP_DISMISS_DELAY
application.putClientProperty(APP_UI_PROPERTY.TOOLTIP_DISMISS_DELAY, 4000)
TOOLTIP_INITIAL_DELAY
application.putClientProperty(APP_UI_PROPERTY.TOOLTIP_INITIAL_DELAY, 2000)
TYPE_AHEAD_SHOW_POPUP_ON_FOCUS_GAIN
// make all TYPE-AHEAD fields not show the pop-up when gaining focus
application.putClientProperty(APP_UI_PROPERTY.TYPE_AHEAD_SHOW_POPUP_ON_FOCUS_GAIN, false);
// make one TYPE-AHEAD field show the pop-up when gaining focus - overrides the application property set
forms.someForm.elements.typeAheadElement.putClientProperty(APP_UI_PROPERTY.TYPE_AHEAD_SHOW_POPUP_ON_FOCUS_GAIN, true);
TYPE_AHEAD_SHOW_POPUP_WHEN_EMPTY
// make all TYPE-AHEAD fields not show the pop-up when there is empty content in the field
application.putClientProperty(APP_UI_PROPERTY.TYPE_AHEAD_SHOW_POPUP_WHEN_EMPTY, false);
// make one TYPE-AHEAD field show the pop-up when there is empty content in the field - overrides the application property set
forms.someForm.elements.typeAheadElement.putClientProperty(APP_UI_PROPERTY.TYPE_AHEAD_SHOW_POPUP_WHEN_EMPTY, true);
USE_SYSTEM_PRINT_DIALOG
application.putClientProperty(APP_UI_PROPERTY.USE_SYSTEM_PRINT_DIALOG, true)
VALUELIST_MAX_ROWS
application.putClientProperty(APP_UI_PROPERTY.VALUELIST_MAX_ROWS, 1000)