Child pages
  • APPLICATION_TYPES

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
{hidden}
Wiki Markup
Hidden
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\ 

{table:id=|class=servoy sSummery}{colgroup}{column:padding=0px|width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Constants Summery{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:padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Constants Details{th}{tr}{tbody:id=HEADLESS_CLIENT|class=node}{tr:id=name}{td}h6.HEADLESS_CLIENT{td}{tr}{tr:id=des}{td}{sub-section:HEADLESS_CLIENT_des|text=|trigger=button}{sub-section}{sub-section:HEADLESS_CLIENT_des|trigger=none|class=sIndent}Constant for application type headless\_client.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:HEADLESS_CLIENT_snc|text=|trigger=button}{sub-section}{sub-section:HEADLESS_CLIENT_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:HEADLESS_CLIENT_prs|text=|trigger=button}{sub-section}{sub-section:HEADLESS_CLIENT_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:HEADLESS_CLIENT_ret|text=|trigger=button}{sub-section}{sub-section:HEADLESS_CLIENT_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:HEADLESS_CLIENT_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:HEADLESS_CLIENT_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:HEADLESS_CLIENT_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:HEADLESS_CLIENT_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:HEADLESS_CLIENT_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:HEADLESS_CLIENT_sam|trigger=none}{code:language=javascript}


HTML Table
classservoy sSummery
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Constants Summery
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#HEADLESS_CLIENT
Constant for application type headless_client.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#RUNTIME_CLIENT
Constant for application type runtime_client.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#SMART_CLIENT
Constant for application type smart_client.
Table Body (tbody)
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
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Constants Details
Table Body (tbody)
idHEADLESS_CLIENT
classnode
Table Row (tr)
idname
Table Cell (td)
HEADLESS_CLIENT
Table Row (tr)
iddes
Table Cell (td)
Constant for application type headless_client.
Table Row (tr)
idret
Table Cell (td)
Returns
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}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=RUNTIME_CLIENT|class=node}{tr:id=name}{td}h6.RUNTIME_CLIENT{td}{tr}{tr:id=des}{td}{sub-section:RUNTIME_CLIENT_des|text=|trigger=button}{sub-section}{sub-section:RUNTIME_CLIENT_des|trigger=none|class=sIndent}Constant for application type runtime\_client.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:RUNTIME_CLIENT_snc|text=|trigger=button}{sub-section}{sub-section:RUNTIME_CLIENT_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:RUNTIME_CLIENT_prs|text=|trigger=button}{sub-section}{sub-section:RUNTIME_CLIENT_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:RUNTIME_CLIENT_ret|text=|trigger=button}{sub-section}{sub-section:RUNTIME_CLIENT_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:RUNTIME_CLIENT_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:RUNTIME_CLIENT_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:RUNTIME_CLIENT_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:RUNTIME_CLIENT_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:RUNTIME_CLIENT_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:RUNTIME_CLIENT_sam|trigger=none}{code:language=javascript}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idRUNTIME_CLIENT
classnode
Table Row (tr)
idname
Table Cell (td)
RUNTIME_CLIENT
Table Row (tr)
iddes
Table Cell (td)
Constant for application type runtime_client.
Table Row (tr)
idret
Table Cell (td)
Returns
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}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SMART_CLIENT|class=node}{tr:id=name}{td}h6.SMART_CLIENT{td}{tr}{tr:id=des}{td}{sub-section:SMART_CLIENT_des|text=|trigger=button}{sub-section}{sub-section:SMART_CLIENT_des|trigger=none|class=sIndent}Constant for application type smart\_client.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SMART_CLIENT_snc|text=|trigger=button}{sub-section}{sub-section:SMART_CLIENT_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SMART_CLIENT_prs|text=|trigger=button}{sub-section}{sub-section:SMART_CLIENT_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SMART_CLIENT_ret|text=|trigger=button}{sub-section}{sub-section:SMART_CLIENT_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SMART_CLIENT_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:SMART_CLIENT_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SMART_CLIENT_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:SMART_CLIENT_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SMART_CLIENT_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:SMART_CLIENT_sam|trigger=none}{code:language=javascript}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idSMART_CLIENT
classnode
Table Row (tr)
idname
Table Cell (td)
SMART_CLIENT
Table Row (tr)
iddes
Table Cell (td)
Constant for application type smart_client.
Table Row (tr)
idret
Table Cell (td)
Returns
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}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=WEB_CLIENT|class=node}{tr:id=name}{td}h6.WEB_CLIENT{td}{tr}{tr:id=des}{td}{sub-section:WEB_CLIENT_des|text=|trigger=button}{sub-section}{sub-section:WEB_CLIENT_des|trigger=none|class=sIndent}Constant for application type web\_client.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:WEB_CLIENT_snc|text=|trigger=button}{sub-section}{sub-section:WEB_CLIENT_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:WEB_CLIENT_prs|text=|trigger=button}{sub-section}{sub-section:WEB_CLIENT_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:WEB_CLIENT_ret|text=|trigger=button}{sub-section}{sub-section:WEB_CLIENT_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:WEB_CLIENT_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:WEB_CLIENT_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:WEB_CLIENT_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:WEB_CLIENT_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:WEB_CLIENT_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:WEB_CLIENT_sam|trigger=none}{code:language=javascript}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idWEB_CLIENT
classnode
Table Row (tr)
idname
Table Cell (td)
WEB_CLIENT
Table Row (tr)
iddes
Table Cell (td)
Constant for application type web_client.
Table Row (tr)
idret
Table Cell (td)
Returns
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}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}
Table Row (tr)
classlastDetailRow
Table Cell (td)