Child pages
  • UICONSTANTS

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClient

servoy sSummary12%30%58%height: 30px;3Constants SummaryProperty that can be set using element.Property that can be set using application.Property that can be set using application.Property that can be set using application.Property that can be set using application.Property that can be set using application.Property that can be set on editable html area using element.Property that can be set using application.Property that can be set using application.Property that can be set using element.Property that can be set using application.Property that can be set using application.Property that can be set using application.Property that can be set using application.Property that can be set using application.Property that can be set using application.Property that can be set using application.Property that can be set using element.Property that can be set using application.Property that can be set using application.Property that can be set using application.Property that can be set using application.

constantservoy sDetail2100%height:30px2Constants DetailsALLOW_JAVASCRIPT_LINK_INPUTname

ALLOW_JAVASCRIPT_LINK_INPUT

dessIndent
Property that can be set using element.putClientProperty()

If set to true, the element will accept javascript links in the input
If set to false, all 'javascript:' texts will be removed from the input

The value can be true/false
DEFAULT: false
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowCALENDAR_NG_SHOW_ISO_WEEK_NUMBERname

CALENDAR_NG_SHOW_ISO_WEEK_NUMBER

dessIndent
Property that can be set using application.putClientProperty(), preferably in solution onOpen handler (or anyway before forms containing calendars are shown).

If set to true, the default calendar, bootstrap calendar, bootstrap inline calendar and nggrid calendar will show week number according to ISO 8601. Other 3rd party (calendar) components are free to take this value into consideration as they please.
By default (false) those will show week number according to locale.

The value can be true/false
DEFAULT: false
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
COMBOBOX_ENABLE_FILTERname

COMBOBOX_ENABLE_FILTER

dessIndent
Property that can be set using application.putClientProperty(). It is used only in NGClient.

This is a global setting, it will affect all COMBOBOX fields. It must be set as soon as possible, ie. on solution open.
Value can be true/false/null.

If set to false, ALL COMBOBOXes will hide the search box when gaining focus.
DEFAULT: null.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
COMBOBOX_SHOW_POPUP_ON_FOCUS_GAINname

COMBOBOX_SHOW_POPUP_ON_FOCUS_GAIN

dessIndent
Property that can be set using application.putClientProperty() or element.putClientProperty(). It is used only in Smart Client.

If set on application it will affect all COMBOBOX fields. If set on an element it will affect only that COMBOBOX element/field (with priority over the application property).
Value can be true/false/null.

If set to true, the affected COMBOBOX will show the pop-up when gaining focus.
DEFAULT: true.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
DATE_FORMATTERS_LENIENTname

DATE_FORMATTERS_LENIENT

dessIndent
Property that can be set using application.putClientProperty() or element.putClientProperty().

If set on application it will affect all date formatted fields. CAUTION: this property must be set on application before the fields are created (for example in solution onOpen handler). Changing it after fields were created will not affect these existing fields.
If set on an element it will affect only that date formatted element/field (with priority over the application property).
Value can be true/false/null.

If set to false, date formatted fields will not allow input of out-of-bounds values (like 62 minutes means 2 minutes and +1 hour).
DEFAULT: true.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
DATE_FORMATTERS_ROLL_INSTEAD_OF_ADDname

DATE_FORMATTERS_ROLL_INSTEAD_OF_ADD

dessIndent
Property that can be set using application.putClientProperty() or element.putClientProperty(). It is used only in Smart Client.

If set on application it will affect all date formatted fields. If set on an element it will affect only that date formatted element/field (with priority over the application property).
Value can be true/false/null.

If set to true, only selected part of the date will be affected when using up/down keys to cycle through values. (for example, pressing up when cursor is on minutes and minutes shows 59 will not result in hour change)
DEFAULT: false.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
HTML_EDITOR_CONFIGURATIONname

HTML_EDITOR_CONFIGURATION

dessIndent
Property that can be set on editable html area using element.putClientProperty()

The value must be a valid json string according to TinyMCE editor configuration (http://www.tinymce.com/wiki.php/configuration).
It will be used to override/set configuration properties in order to customize the editor.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
LEAVE_FIELDS_READONLY_IN_FIND_MODEname

LEAVE_FIELDS_READONLY_IN_FIND_MODE

dessIndent
Property that can be set using application.putClientProperty().

If set to true, fields that are read-only won't be editable in find mode
If set to false, fields that are read-only will be editable in find mode

The value can be true/false
DEFAULT: false
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
NG_BLOCK_DUPLICATE_EVENTSname

NG_BLOCK_DUPLICATE_EVENTS

dessIndent
Property that can be set using application.putClientProperty() or element.putClientProperty()..

If set to true, any events of same type and on same component will be blocked (cancelled) until first event is finished.

The value can be true/false
DEFAULT: false
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
RELATED_NULL_SEARCH_ADD_PK_CONDITIONname

RELATED_NULL_SEARCH_ADD_PK_CONDITION

dessIndent
Property that can be set using element.putClientProperty()

If set to true, related find/search will only return records that have a related match, also in case of left outer joins.
Otherwise a related search on a field may return records where the related search does not match.

For example,
* <pre>
    if (foundset.find()) {
     founset.myleftouterjoinrelation.myfield = 'someval';
     foundset.search();
    }
</pre>
With this setting to false records of the foundset table that have no related records via the relation will also be returned.

The value can be true/false
DEFAULT: servoy property servoy.client.relatedNullSearchAddPkCondition/true
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
TABLEVIEW_NG_OPTIMIZED_READONLY_MODEname

TABLEVIEW_NG_OPTIMIZED_READONLY_MODE

dessIndent
Property that can be set using application.putClientProperty().

If set to true, the tableview will be seens as fully readonly and NGClient will generate an optimized version (textfields are replaced)

The value can be true/false
DEFAULT: false
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
TABLEVIEW_NG_PAGE_SIZE_FACTORname

TABLEVIEW_NG_PAGE_SIZE_FACTOR

dessIndent
Property that can be set using application.putClientProperty().

A number that defines the factor of what the next page size should be is in the tableview/listview/portal,
this value is used to get the initial size (numerOfVisibleRows * thisPageSize).
So a value of 2 (default) will load in 20 records if the number of visible rows is 10.
Then if you scroll down the new set of records will be: (numberOfVisibleRows * thisPageSize) - numerOfVisibleRows
so that will load for the default value 2, 1 page which is the number of visible rows (10 in this example).

The value can be any number but it should be bigger then 1.

WARNING the bigger the number, the more data is pushed initially to the client (and more is pushed in every new page)

DEFAULT: 2
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
TABLEVIEW_WC_DEFAULT_SCROLLABLEname

TABLEVIEW_WC_DEFAULT_SCROLLABLE

dessIndent
Property that can be set using application.putClientProperty().

If set to true, table views in web client are scrollable by default
If set to false, table views in web client are not scrollable, but pageable by default

The value can be true/false
DEFAULT: false

When this property is set to true, you can control the size of the page by setting the servoy property "servoy.webclient.scrolling.tableview.multiplier".
The default value is 2. Setting the property to a higher value, will result in more data to be queried at once. You can also set it to a lower value, like 1 or 1.5 for example.
We strongly recommend that the default or lower size be used in order to avoid blocking situations due to the big request being made to the server.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
TABLEVIEW_WC_SCROLLABLE_KEEP_LOADED_ROWSname

TABLEVIEW_WC_SCROLLABLE_KEEP_LOADED_ROWS

dessIndent
Property that can be set using application.putClientProperty().

If set to true, scrollable table views in web client will keep the already loaded rows in the view
If set to false, scrollable table views in web client will unload not visible rows in the view

The value can be true/false
DEFAULT: false
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
TABLEVIEW_WC_USE_KEY_NAVIGATIONname

TABLEVIEW_WC_USE_KEY_NAVIGATION

dessIndent
Property that can be set using application.putClientProperty().

If set to true, you can change selection in webclient tableview using up/down keys
If set to false, you cannot change selection via keyboard arrows

The value can be true/false
DEFAULT: true
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
TOOLTIP_DISMISS_DELAYname

TOOLTIP_DISMISS_DELAY

dessIndent
Property that can be set using application.putClientProperty() and
indicates the delay in milliseconds after the tooltip is dismissed.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
TOOLTIP_INITIAL_DELAYname

TOOLTIP_INITIAL_DELAY

dessIndent
Property that can be set using application.putClientProperty() and
indicates the delay in milliseconds before the tooltip is shown.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
TRUST_DATA_AS_HTMLname

TRUST_DATA_AS_HTML

dessIndent
Property that can be set using element.putClientProperty() or application.putClientProperty()

If set to true, data showed on elements like buttons or labels will not be sanitized.

Showing unsanitized data can make the system vulnerable to XSS attacks, for example, an
user registers with name 'John Doe<script>someEvilJavascript</script>', when this data is shown in a label (by another user)
the javascript in the script tags will be executed.

Only enable this setting if the data shown can always be trusted and is never composed of data from an external system or user.

The value can be true/false
DEFAULT: false
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
TYPE_AHEAD_SHOW_POPUP_ON_FOCUS_GAINname

TYPE_AHEAD_SHOW_POPUP_ON_FOCUS_GAIN

dessIndent
Property that can be set using application.putClientProperty() or element.putClientProperty().

If set on application it will affect all TYPE-AHEAD fields. If set on an element it will affect only that TYPE-AHEAD element/field (with priority over the application property).
Value can be true/false/null.

If set to true, the affected TYPE_AHEAD(s) will show the pop-up when gaining focus.
DEFAULT: true.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
TYPE_AHEAD_SHOW_POPUP_WHEN_EMPTYname

TYPE_AHEAD_SHOW_POPUP_WHEN_EMPTY

dessIndent
Property that can be set using application.putClientProperty() or element.putClientProperty().

If set on application it will affect all TYPE-AHEAD fields. If set on an element it will affect only that TYPE-AHEAD element/field (with priority over the application property).
Value can be true/false/null.

If set to true, the affected TYPE_AHEAD(s) will show the pop-up when the field content is empty.
DEFAULT: true.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
USE_SYSTEM_PRINT_DIALOGname

USE_SYSTEM_PRINT_DIALOG

dessIndent
Property that can be set using application.putClientProperty().

If set to true, the system standard Printing dialog will be used when printing is needed.
If set to false, the Servoy Printing dialog will be used.

The value can be true/false/null.
DEFAULT: false
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
VALUELIST_MAX_ROWSname

VALUELIST_MAX_ROWS

dessIndent
Property that can be set using application.putClientProperty()

The value can be a positive integer representing the maximum number of rows that will be retrieved by query in database or related valuelist.
Can have a maximum value of 1000.

DEFAULT: 500
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow