Child pages
  • APPLICATION_TYPES

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
{div:style=}
Wiki Markup
Div
styledisplay: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.\\ \\ Enter additional information related to this 'class' inside the \{div} macro with 'id=description'{div} {div:id=description}{div}\\ {table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Constants Summary{th}{tr}{tbody}{tr}{td}[Number]{td}{td}[#HEADLESS_CLIENT] Constant for application type headless\_client.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#RUNTIME_CLIENT] Constant for application type runtime\_client.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SMART_CLIENT] Constant for application type smart\_client.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#WEB_CLIENT] Constant for application type web\_client.{td}{tr}{tbody}{table}\\ {table:id=constant|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Constants Details{th}{tr}{tbody:id=HEADLESS_CLIENT}{tr:id=name}{td}h6.HEADLESS_CLIENT{td}{tr}{tr:id=des}{td}{div:class=sIndent}Constant for application type headless\_client.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}

GENERATOR.

Div
iddescription



HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Constants Summary
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
HEADLESS_CLIENT
Constant for application type headless_client.
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
MOBILE_CLIENT
Constant for application type mobile client.
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
RUNTIME_CLIENT
Constant for application type runtime_client.
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
SMART_CLIENT
Constant for application type smart_client.
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
WEB_CLIENT
Constant for application type web_client.



HTML Table
idconstant
classservoy sDetail
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Constants Details
Table Body (tbody)
idHEADLESS_CLIENT
Table Row (tr)
idname
Table Cell (td)

HEADLESS_CLIENT

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant for application type headless_client.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
if (application.getApplicationType() == APPLICATION_TYPES.HEADLESS_CLIENT)
{
	//we are in headless_client
}
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=RUNTIME_CLIENT}{tr:id=name}{td}h6.RUNTIME_CLIENT{td}{tr}{tr:id=des}{td}{div:class=sIndent}Constant for application type runtime\_client.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idMOBILE_CLIENT
Table Row (tr)
idname
Table Cell (td)

MOBILE_CLIENT

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant for application type mobile client.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
if (application.getApplicationType() == APPLICATION_TYPES.MOBILE_CLIENT)
{
	//we are in mobile client
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idRUNTIME_CLIENT
Table Row (tr)
idname
Table Cell (td)

RUNTIME_CLIENT

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant for application type runtime_client.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
if (application.getApplicationType() == APPLICATION_TYPES.RUNTIME_CLIENT)
{
	//we are in runtime_client
}
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SMART_CLIENT}{tr:id=name}{td}h6.SMART_CLIENT{td}{tr}{tr:id=des}{td}{div:class=sIndent}Constant for application type smart\_client.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idSMART_CLIENT
Table Row (tr)
idname
Table Cell (td)

SMART_CLIENT

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant for application type smart_client.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
if (application.getApplicationType() == APPLICATION_TYPES.SMART_CLIENT)
{
	//we are in smart_client
}
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=WEB_CLIENT}{tr:id=name}{td}h6.WEB_CLIENT{td}{tr}{tr:id=des}{td}{div:class=sIndent}Constant for application type web\_client.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idWEB_CLIENT
Table Row (tr)
idname
Table Cell (td)

WEB_CLIENT

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant for application type web_client.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
if (application.getApplicationType() == APPLICATION_TYPES.WEB_CLIENT)
{
	//we are in web_client
}
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}
Table Row (tr)
classlastDetailRow
Table Cell (td)