Child pages
  • APPLICATION_TYPES

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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 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|class=node}{tr:id=name}{td}h6.HEADLESS_CLIENT{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:HEADLESS_CLIENT_des|trigger=button|text=}{sub-section}{sub-section:HEADLESS_CLIENT_des|trigger=none|class=sIndent}ConstantReplace for application type headless\_client.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:HEADLESS_CLIENT_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:HEADLESS_CLIENT_sam|trigger=none}{code:language=javascript}
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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:RUNTIME_CLIENT_des|trigger=button|text=}{sub-section}{sub-section:RUNTIME_CLIENT_des|trigger=none|class=sIndent}ConstantReplace for application type runtime\_client.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:RUNTIME_CLIENT_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:RUNTIME_CLIENT_sam|trigger=none}{code:language=javascript}
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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SMART_CLIENT_des|trigger=button|text=}{sub-section}{sub-section:SMART_CLIENT_des|trigger=none|class=sIndent}ConstantReplace for application type smart\_client.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SMART_CLIENT_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SMART_CLIENT_sam|trigger=none}{code:language=javascript}
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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:WEB_CLIENT_des|trigger=button|text=}{sub-section}{sub-section:WEB_CLIENT_des|trigger=none|class=sIndent}ConstantReplace for application type web\_client.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:WEB_CLIENT_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:WEB_CLIENT_sam|trigger=none}{code:language=javascript}
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}