Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Divcache
Div
iddescription
HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Event Summary
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
onClose
The method that is executed when a solution closes.
Table Row (tr)
Table Cell (td)
 
Table Cell (td)
onDataBroadcast
Method that is executed when data broadcast occurs.
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
onError
The method that is executed when a solution opens and an error occurs.
Table Row (tr)
Table Cell (td)
 
Table Cell (td)
onOpen
The method that is executed when a solution opens.
HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)firstForm
styleindexdisplay:none

DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.

true
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable
idevent

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy sSummary12%30%58%height: 30px;3Property SummaryThe first form that loads when a solution is deployed. Table Row (tr)

Table Cell (td)
String
Table Cell (td)i18nDataSource
loginForm
The i18n database server connection and database table that stores the i18n keys for a solution. Table Row (tr)
Table Cell (td)
Number
Table Cell (td)The name of the login form that loads when a solution is deployed. Table Row (tr)
Table Cell (td)
String
Table Cell (td)loginSolutionName
Table Cell (td)modulesNames
Get the first module that is also a login solution. Table Row (tr)
Table Cell (td)
String
mustAuthenticate
The list of modules that have been added to a solution. Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)Flag that tells if authentication is needed in order to access the solution. Table Row (tr)
Table Cell (td)
Number
Table Cell (td)solutionType
The type of a solution; can be "Normal" (non-module), "Module", "Web client only", "Smart client only",
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)textOrientation
"Login", "Authenticator", "Pre-import hook module", "Post-import hook module", "Mobile". Table Cell (td)titleText
The custom CSS used by the solution (a MEDIA lib entry).The direction that text is displayed. Table Row (tr)
Table Cell (td)
String
The menu bar title of a solution. HTML Table

classservoy sDetail

Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead) Table Row (tr)styleservoy sSummary12%30%58%height: 30px;
Table Head (th)
colspan2
Event Details
Table Body (tbody)
idonClose-Boolean
Table Row (tr)
idname
Table Cell (td)

onClose

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
3Event SummaryThe method that is executed when a solution closes. The default is -none-.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{Boolean} force - if false then solution close can be stopped by returning false
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Boolean
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idonDataBroadcast-String_Number_JSDataSet_Boolean
Table Row (tr)
idname
Table Cell (td)

onDataBroadcast

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
Method that is executed when data broadcast occurs.The default is -none-.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{String} dataSource - table data source
{Number} action - see SQL_ACTION_TYPES constants
{JSDataSet} pks - affected primary keys
{Boolean} cached - data was cached
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idonError-
Table Row (tr)
idname
Table Cell (td)

onError

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
The method that is executed when a solution opens and an error occurs.The default is -none.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
ex - exception to handle
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Boolean
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idonOpen
Table Row (tr)
idname
Table Cell (td)

onOpen

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
The method that is executed when a solution opens. The default is -none-.
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
table

idclass

property Colgroup Tag Colcolspanservoy sDetail2width100%

Col
Table Head (thead) Table Row (tr)styleheight:30px; Table Head (th)colspan2Property Details Table Body (tbody)ididfirstForm Table Row (tr)name

Table Cell (td)

firstForm

Table Row (tr)idclass

des Table Cell (td) DivsIndentThe first form that loads when a solution is deployed. Table Row (tr)id NOTE: If the Login form is specified, then the firstForm is the first form that will load next after the loginForm.ret

Table Cell (td)

Returns

divsIndentclients

class

Supported Clients

sIndent
Number
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idi18nDataSource
Table Row (tr)
idname
Table Cell (td)

i18nDataSource

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClient,MobileClientsam

Sample

sIdentjavascript
lastDetailRow 
i18nDataSourcename

i18nDataSource

dessIndentThe i18n database server connection and database table that stores the i18n keys for a solution.
Table Row (tr)idtdret

Returns

divsIndentclients

class

Supported Clients

sIndent
String
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idloginForm
Table Row (tr)
idname
Table Cell (td)

loginForm

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

sIdentjavascript
lastDetailRow 
loginFormname

loginForm

dessIndentThe name of the login form that loads when a solution is deployed.
Table Row (tr)idret

Table Cell (td)

Returns

divsIndentclients

class Div

classsIndent

Supported Clients

sIndent
Number
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idloginSolutionName
Table Row (tr)
idname
Table Cell (td)

loginSolutionName

Table Row (tr)
iddes
Table Cell (td)SmartClient,WebClient,NGClient,MobileClientsam

Sample

sIdentjavascript
lastDetailRow 
loginSolutionNamename

loginSolutionName

dessIndentGet the first module that is also a login solution.
Table Row (tr)idtdret

Returns

divsIndentclients

class

Supported Clients

sIndent
String
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idmodulesNames
Table Row (tr)
idname
Table Cell (td)

modulesNames

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

sIdentjavascript
lastDetailRow 
modulesNamesname

modulesNames

dessIndentThe list of modules that have been added to a solution.
Table Row (tr)idret

Table Cell (td)

Returns

divsIndentclients

class

Supported Clients

sIndent
String
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idmustAuthenticate
Table Row (tr)
idname
Table Cell (td)

mustAuthenticate

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClient,MobileClientsam

Sample

sIdentjavascript
lastDetailRow 
mustAuthenticatename

mustAuthenticate

dessIndentFlag that tells if authentication is needed in order to access the solution
.

To enforce a default Servoy user name and password login dialog; if set a login dialog is required, if unchecked no login dialog is required.

Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Boolean
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idsolutionType
Table Row (tr)
idname
Table Cell (td)

solutionType

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
. If unchecked, the Smart Client will always require authentication, regardless of this setting. If checked, authentication is required, and either a provided loginSolution or otherwise the default Servoy login mechanism will be used. If default Servoy login mechanism is used, the "servoy.webclient.basic.authentication" setting on the Admin Page can be used to enable the use of the standard browser basic authentication.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
solutionTypename

solutionType

dessIndentThe type of a solution; can be "Normal" (non-module), "Module", "Web client only", "Smart client only",

"Login", "Authenticator", "Pre-import hook module", "Post-import hook module", "Mobile".
Table Row (tr)id These constants are defined in SolutionMetaData class.ret

Table Cell (td)

Returns

divsIndentclients

class

Supported Clients

sIndent
Number
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idtextOrientation
Table Row (tr)
idname
Table Cell (td)

textOrientation

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClient,MobileClientsam

Sample

sIdentjavascript
lastDetailRow 
styleSheetname

styleSheet

dessIndentThe custom CSS used by the solution (a MEDIA lib entry). It can reference other media resources (even additional .css through relative '@import' statements). For NGClient - this CSS will be available directly in the browser.ret

Returns

sIndent
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRow 
textOrientationname

textOrientation

dessIndentThe direction that text is displayed.
Options include:
DEFAULT
left to right
right to left
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idtitleText
Table Row (tr)
idname
Table Cell (td)

titleText

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
The menu bar title of a solution.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
classlastDetailRow
Table Cell (td)  locale specificret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
titleTextname

titleText

dessIndentThe menu bar title of a solution.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 

eventservoy sDetail2100%height:30px2Event DetailsonClosename

onClose(force)

dessIndentThe method that is executed when a solution closes. The default is -none-.prs

Parameters

sIndentforceif false then solution close can be stopped by returning false
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
onDataBroadcastname

onDataBroadcast(dataSource, action, pks, cached)

dessIndentMethod that is executed when data broadcast occurs. The default is -none-.prs

Parameters

sIndentdataSourcetable data sourceactionsee SQL_ACTION_TYPES constantspksaffected primary keyscacheddata was cached
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
onErrorname

onError(ex)

dessIndentThe method that is executed when a solution opens and an error occurs. The default is -none.prs

Parameters

sIndentexexception to handle
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
onOpenname

onOpen(arg, queryParams)

dessIndentThe method that is executed when a solution opens. The default is -none-.prs

Parameters

sIndentargstartup argument part of the deeplink url with which the Client was startedqueryParamsall query parameters of the deeplink url with which the Client was started
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow