Child pages
  • ELEMENT_TYPES

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
{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:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Constants Summary{th}{tr}{tbody}{tr}{td}[String]{td}{td}[#BUTTON] Constant representing an element of the Button type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#CALENDAR] Constant representing an element of the Calendar type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#CHECK] Constant representing an element of the Check type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#GROUP] Constant representing a Group of elements.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#IMAGE_MEDIA] Constant representing an element of the ImageMedia type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#LABEL] Constant representing an element of the Label type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#PORTAL] Constant representing an element of the Portal type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#RADIOS] Constant representing an element of the Radios type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#TABPANEL] Constant representing an element of the Tabpanel type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#TEXT_AREA] Constant representing an element of the TextArea type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#TEXT_FIELD] Constant representing an element of the TextField type.{td}{tr}{tbody}{table}\\ {table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Constants Details{th}{tr}{tbody:id=877FCDE7-5A36-48DC-A6AC-232CB9CDD945}{tr:id=name}{td}h6.BUTTON{td}{tr}{tr:id=des}{td}{sub-section:877FCDE7-5A36-48DC-A6AC-232CB9CDD945_des|text=|trigger=button}{sub-section}{sub-section:877FCDE7-5A36-48DC-A6AC-232CB9CDD945_des|trigger=none|class=sIndent}Constant representing an element of the Button type.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:877FCDE7-5A36-48DC-A6AC-232CB9CDD945_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:877FCDE7-5A36-48DC-A6AC-232CB9CDD945_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:877FCDE7-5A36-48DC-A6AC-232CB9CDD945_ret|text=|trigger=button}{sub-section}{sub-section:877FCDE7-5A36-48DC-A6AC-232CB9CDD945_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:877FCDE7-5A36-48DC-A6AC-232CB9CDD945_see|text=|trigger=button}{sub-section}{sub-section:877FCDE7-5A36-48DC-A6AC-232CB9CDD945_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:877FCDE7-5A36-48DC-A6AC-232CB9CDD945_see|text=|trigger=button}{sub-section}{sub-section:877FCDE7-5A36-48DC-A6AC-232CB9CDD945_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:877FCDE7-5A36-48DC-A6AC-232CB9CDD945_sam|text=|trigger=button}{sub-section}{sub-section:877FCDE7-5A36-48DC-A6AC-232CB9CDD945_sam|class=sIndent|trigger=none}{code:language=javascript} //the return value for an element of the Button type, as returned by the following code var etype = elements.elementName.getElementType(); if (etype == ELEMENT_TYPES.BUTTON) { // element is a Button component } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=E9236975-2B02-4015-B169-EFBC5D2FB93A}{tr:id=name}{td}h6.CALENDAR{td}{tr}{tr:id=des}{td}{sub-section:E9236975-2B02-4015-B169-EFBC5D2FB93A_des|text=|trigger=button}{sub-section}{sub-section:E9236975-2B02-4015-B169-EFBC5D2FB93A_des|trigger=none|class=sIndent}Constant representing an element of the Calendar type.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:E9236975-2B02-4015-B169-EFBC5D2FB93A_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:E9236975-2B02-4015-B169-EFBC5D2FB93A_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:E9236975-2B02-4015-B169-EFBC5D2FB93A_ret|text=|trigger=button}{sub-section}{sub-section:E9236975-2B02-4015-B169-EFBC5D2FB93A_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:E9236975-2B02-4015-B169-EFBC5D2FB93A_see|text=|trigger=button}{sub-section}{sub-section:E9236975-2B02-4015-B169-EFBC5D2FB93A_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:E9236975-2B02-4015-B169-EFBC5D2FB93A_see|text=|trigger=button}{sub-section}{sub-section:E9236975-2B02-4015-B169-EFBC5D2FB93A_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:E9236975-2B02-4015-B169-EFBC5D2FB93A_sam|text=|trigger=button}{sub-section}{sub-section:E9236975-2B02-4015-B169-EFBC5D2FB93A_sam|class=sIndent|trigger=none}{code:language=javascript} //the return value for an element of the Calendar type, as returned by the following code var etype = elements.elementName.getElementType(); if (etype == ELEMENT_TYPES.CALENDAR) { // element is a Calendar field } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=C2FA89C1-2FCD-4A91-84CA-CDA51A31A80A}{tr:id=name}{td}h6.CHECK{td}{tr}{tr:id=des}{td}{sub-section:C2FA89C1-2FCD-4A91-84CA-CDA51A31A80A_des|text=|trigger=button}{sub-section}{sub-section:C2FA89C1-2FCD-4A91-84CA-CDA51A31A80A_des|trigger=none|class=sIndent}Constant representing an element of the Check type.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:C2FA89C1-2FCD-4A91-84CA-CDA51A31A80A_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:C2FA89C1-2FCD-4A91-84CA-CDA51A31A80A_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:C2FA89C1-2FCD-4A91-84CA-CDA51A31A80A_ret|text=|trigger=button}{sub-section}{sub-section:C2FA89C1-2FCD-4A91-84CA-CDA51A31A80A_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:C2FA89C1-2FCD-4A91-84CA-CDA51A31A80A_see|text=|trigger=button}{sub-section}{sub-section:C2FA89C1-2FCD-4A91-84CA-CDA51A31A80A_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:C2FA89C1-2FCD-4A91-84CA-CDA51A31A80A_see|text=|trigger=button}{sub-section}{sub-section:C2FA89C1-2FCD-4A91-84CA-CDA51A31A80A_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:C2FA89C1-2FCD-4A91-84CA-CDA51A31A80A_sam|text=|trigger=button}{sub-section}{sub-section:C2FA89C1-2FCD-4A91-84CA-CDA51A31A80A_sam|class=sIndent|trigger=none}{code:language=javascript} //the return value for an element of the Check type, as returned by the following code var etype = elements.elementName.getElementType(); if (etype == ELEMENT_TYPES.CHECK) { // element is a Check(box) field } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=CFFE7946-3F82-4B36-9502-45915E0DAB3B}{tr:id=name}{td}h6.GROUP{td}{tr}{tr:id=des}{td}{sub-section:CFFE7946-3F82-4B36-9502-45915E0DAB3B_des|text=|trigger=button}{sub-section}{sub-section:CFFE7946-3F82-4B36-9502-45915E0DAB3B_des|trigger=none|class=sIndent}Constant representing a Group of elements.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:CFFE7946-3F82-4B36-9502-45915E0DAB3B_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:CFFE7946-3F82-4B36-9502-45915E0DAB3B_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:CFFE7946-3F82-4B36-9502-45915E0DAB3B_ret|text=|trigger=button}{sub-section}{sub-section:CFFE7946-3F82-4B36-9502-45915E0DAB3B_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:CFFE7946-3F82-4B36-9502-45915E0DAB3B_see|text=|trigger=button}{sub-section}{sub-section:CFFE7946-3F82-4B36-9502-45915E0DAB3B_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:CFFE7946-3F82-4B36-9502-45915E0DAB3B_see|text=|trigger=button}{sub-section}{sub-section:CFFE7946-3F82-4B36-9502-45915E0DAB3B_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:CFFE7946-3F82-4B36-9502-45915E0DAB3B_sam|text=|trigger=button}{sub-section}{sub-section:CFFE7946-3F82-4B36-9502-45915E0DAB3B_sam|class=sIndent|trigger=none}{code:language=javascript} //the return value for an element of the TextField type, as returned by the following code var etype = elements.elementName.getElementType(); if (etype == ELEMENT_TYPES.GROUP) { // element is a group element } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=5B243356-D301-40FA-A9BA-D75DDAC7C70C}{tr:id=name}{td}h6.IMAGE_MEDIA{td}{tr}{tr:id=des}{td}{sub-section:5B243356-D301-40FA-A9BA-D75DDAC7C70C_des|text=|trigger=button}{sub-section}{sub-section:5B243356-D301-40FA-A9BA-D75DDAC7C70C_des|trigger=none|class=sIndent}Constant representing an element of the ImageMedia type.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:5B243356-D301-40FA-A9BA-D75DDAC7C70C_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:5B243356-D301-40FA-A9BA-D75DDAC7C70C_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:5B243356-D301-40FA-A9BA-D75DDAC7C70C_ret|text=|trigger=button}{sub-section}{sub-section:5B243356-D301-40FA-A9BA-D75DDAC7C70C_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:5B243356-D301-40FA-A9BA-D75DDAC7C70C_see|text=|trigger=button}{sub-section}{sub-section:5B243356-D301-40FA-A9BA-D75DDAC7C70C_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:5B243356-D301-40FA-A9BA-D75DDAC7C70C_see|text=|trigger=button}{sub-section}{sub-section:5B243356-D301-40FA-A9BA-D75DDAC7C70C_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:5B243356-D301-40FA-A9BA-D75DDAC7C70C_sam|text=|trigger=button}{sub-section}{sub-section:5B243356-D301-40FA-A9BA-D75DDAC7C70C_sam|class=sIndent|trigger=none}{code:language=javascript} //the return value for an element of the ImageMedia type, as returned by the following code var etype = elements.elementName.getElementType(); if (etype == ELEMENT_TYPES.IMAGE_MEDIA) { // element is a Image Media field } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=7682C84B-403A-41CE-A78B-9E240C19592B}{tr:id=name}{td}h6.LABEL{td}{tr}{tr:id=des}{td}{sub-section:7682C84B-403A-41CE-A78B-9E240C19592B_des|text=|trigger=button}{sub-section}{sub-section:7682C84B-403A-41CE-A78B-9E240C19592B_des|trigger=none|class=sIndent}Constant representing an element of the Label type.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:7682C84B-403A-41CE-A78B-9E240C19592B_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:7682C84B-403A-41CE-A78B-9E240C19592B_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:7682C84B-403A-41CE-A78B-9E240C19592B_ret|text=|trigger=button}{sub-section}{sub-section:7682C84B-403A-41CE-A78B-9E240C19592B_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:7682C84B-403A-41CE-A78B-9E240C19592B_see|text=|trigger=button}{sub-section}{sub-section:7682C84B-403A-41CE-A78B-9E240C19592B_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:7682C84B-403A-41CE-A78B-9E240C19592B_see|text=|trigger=button}{sub-section}{sub-section:7682C84B-403A-41CE-A78B-9E240C19592B_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:7682C84B-403A-41CE-A78B-9E240C19592B_sam|text=|trigger=button}{sub-section}{sub-section:7682C84B-403A-41CE-A78B-9E240C19592B_sam|class=sIndent|trigger=none}{code:language=javascript}
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.

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)
String
Table Cell (td)
ACCORDIONPANEL
Constant representing a accordionpanel element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
BUTTON
Constant representing an element of the Button type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
CALENDAR
Constant representing an element of the Calendar type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
CHECK
Constant representing an element of the Check type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
COMBOBOX
Constant representing a combobox element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
FORM
Constant representing a form element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
GROUP
Constant representing a Group of elements.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
HTML_AREA
Constant representing a html area element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
IMAGE_MEDIA
Constant representing an element of the ImageMedia type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
LABEL
Constant representing an element of the Label type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
LISTBOX
Constant representing a listbox element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
MULTISELECT_LISTBOX
Constant representing a multi selection listbox element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
PASSWORD
Constant representing an element of the Password type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
PORTAL
Constant representing an element of the Portal type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
RADIOS
Constant representing an element of the Radios type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
RECTANGLE
Constant representing a rectangle element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
RTF_AREA
Constant representing a rtf area of element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
SPINNER
Constant representing a spinner element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
SPLITPANE
Constant representing a splitpane element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
TABPANEL
Constant representing an element of the Tabpanel type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
TEXT_AREA
Constant representing an element of the TextArea type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
TEXT_FIELD
Constant representing an element of the TextField type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
TYPE_AHEAD
Constant representing a typeahead element.



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)
idACCORDIONPANEL
Table Row (tr)
idname
Table Cell (td)

ACCORDIONPANEL

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a accordionpanel element.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.ACCORDIONPANEL)
{
     // element is a accordion panel element
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idBUTTON
Table Row (tr)
idname
Table Cell (td)

BUTTON

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the Button type.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Button type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.BUTTON)
{
     // element is a Button component
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idCALENDAR
Table Row (tr)
idname
Table Cell (td)

CALENDAR

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the Calendar type.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Calendar type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.CALENDAR)
{
     // element is a Calendar field
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idCHECK
Table Row (tr)
idname
Table Cell (td)

CHECK

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the Check type.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Check type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.CHECK)
{
     // element is a Check(box) field
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idCOMBOBOX
Table Row (tr)
idname
Table Cell (td)

COMBOBOX

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a combobox element.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the 
Label
TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.
LABEL
COMBOBOX)
{
     // element is a 
Label
COMBOBOX 
component
element
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=EE4845E7-0550-4D3C-8E06-5049F02C4934}{tr:id=name}{td}h6.PORTAL{td}{tr}{tr:id=des}{td}{sub-section:EE4845E7-0550-4D3C-8E06-5049F02C4934_des|text=|trigger=button}{sub-section}{sub-section:EE4845E7-0550-4D3C-8E06-5049F02C4934_des|trigger=none|class=sIndent}Constant representing
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idFORM
Table Row (tr)
idname
Table Cell (td)

FORM

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a form element.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the 
Portal type.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:EE4845E7-0550-4D3C-8E06-5049F02C4934_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:EE4845E7-0550-4D3C-8E06-5049F02C4934_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:EE4845E7-0550-4D3C-8E06-5049F02C4934_ret|text=|trigger=button}{sub-section}{sub-section:EE4845E7-0550-4D3C-8E06-5049F02C4934_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:EE4845E7-0550-4D3C-8E06-5049F02C4934_see|text=|trigger=button}{sub-section}{sub-section:EE4845E7-0550-4D3C-8E06-5049F02C4934_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:EE4845E7-0550-4D3C-8E06-5049F02C4934_see|text=|trigger=button}{sub-section}{sub-section:EE4845E7-0550-4D3C-8E06-5049F02C4934_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:EE4845E7-0550-4D3C-8E06-5049F02C4934_sam|text=|trigger=button}{sub-section}{sub-section:EE4845E7-0550-4D3C-8E06-5049F02C4934_sam|class=sIndent|trigger=none}{code:language=javascript}
Form type, as returned by the following code
var renderElementType = event.getRenderable().getElementType();
if (renderElementType == ELEMENT_TYPES.FORM)
{
     // element is a type form element
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idGROUP
Table Row (tr)
idname
Table Cell (td)

GROUP

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a Group of elements.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.GROUP)
{
     // element is a group element
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idHTML_AREA
Table Row (tr)
idname
Table Cell (td)

HTML_AREA

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a html area element.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.HTML_AREA)
{
     // element is a HTML textarea
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idIMAGE_MEDIA
Table Row (tr)
idname
Table Cell (td)

IMAGE_MEDIA

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the ImageMedia type.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the 
Portal
ImageMedia type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.
PORTAL
IMAGE_MEDIA)
{
     // element is a 
Portal
Image 
component
Media 
}
field
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=9A1FC968-7D1B-4D00-92B6-20C0804B3AC8}{tr:id=name}{td}h6.RADIOS{td}{tr}{tr:id=des}{td}{sub-section:9A1FC968-7D1B-4D00-92B6-20C0804B3AC8_des|text=|trigger=button}{sub-section}{sub-section:9A1FC968-7D1B-4D00-92B6-20C0804B3AC8_des|trigger=none|class=sIndent}Constant representing an element of the Radios type.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:9A1FC968-7D1B-4D00-92B6-20C0804B3AC8_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:9A1FC968-7D1B-4D00-92B6-20C0804B3AC8_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:9A1FC968-7D1B-4D00-92B6-20C0804B3AC8_ret|text=|trigger=button}{sub-section}{sub-section:9A1FC968-7D1B-4D00-92B6-20C0804B3AC8_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:9A1FC968-7D1B-4D00-92B6-20C0804B3AC8_see|text=|trigger=button}{sub-section}{sub-section:9A1FC968-7D1B-4D00-92B6-20C0804B3AC8_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:9A1FC968-7D1B-4D00-92B6-20C0804B3AC8_see|text=|trigger=button}{sub-section}{sub-section:9A1FC968-7D1B-4D00-92B6-20C0804B3AC8_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:9A1FC968-7D1B-4D00-92B6-20C0804B3AC8_sam|text=|trigger=button}{sub-section}{sub-section:9A1FC968-7D1B-4D00-92B6-20C0804B3AC8_sam|class=sIndent|trigger=none}{code:language=javascript}
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idLABEL
Table Row (tr)
idname
Table Cell (td)

LABEL

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the Label type.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Label type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.LABEL)
{
     // element is a Label component
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idLISTBOX
Table Row (tr)
idname
Table Cell (td)

LISTBOX

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a listbox element.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the ListBox type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.LISTBOX)
{
     // element is a LISTBOX element
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idMULTISELECT_LISTBOX
Table Row (tr)
idname
Table Cell (td)

MULTISELECT_LISTBOX

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a multi selection listbox element.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the 
Radios
TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES
.RADIOS
.MULTISELECT_LISTBOX)
{
     // element is a 
Radios field. } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=E69B4108-B107-4114-9B84-35FDE7DA6339}{tr:id=name}{td}h6.TABPANEL{td}{tr}{tr:id=des}{td}{sub-section:E69B4108-B107-4114-9B84-35FDE7DA6339_des|text=|trigger=button}{sub-section}{sub-section:E69B4108-B107-4114-9B84-35FDE7DA6339_des|trigger=none|class=sIndent}Constant representing an element of the Tabpanel type.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:E69B4108-B107-4114-9B84-35FDE7DA6339_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:E69B4108-B107-4114-9B84-35FDE7DA6339_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:E69B4108-B107-4114-9B84-35FDE7DA6339_ret|text=|trigger=button}{sub-section}{sub-section:E69B4108-B107-4114-9B84-35FDE7DA6339_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:E69B4108-B107-4114-9B84-35FDE7DA6339_see|text=|trigger=button}{sub-section}{sub-section:E69B4108-B107-4114-9B84-35FDE7DA6339_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:E69B4108-B107-4114-9B84-35FDE7DA6339_see|text=|trigger=button}{sub-section}{sub-section:E69B4108-B107-4114-9B84-35FDE7DA6339_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:E69B4108-B107-4114-9B84-35FDE7DA6339_sam|text=|trigger=button}{sub-section}{sub-section:E69B4108-B107-4114-9B84-35FDE7DA6339_sam|class=sIndent|trigger=none}{code:language=javascript}
MULTISELECT_LISTBOX element
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idPASSWORD
Table Row (tr)
idname
Table Cell (td)

PASSWORD

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the Password type.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Password type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.PASSWORD)
{
     // element is a Password component
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idPORTAL
Table Row (tr)
idname
Table Cell (td)

PORTAL

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the Portal type.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Portal type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.PORTAL)
{
     // element is a Portal component
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idRADIOS
Table Row (tr)
idname
Table Cell (td)

RADIOS

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the Radios type.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the 
Tabpanel
Radios type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.
TABPANEL
RADIOS)
{
     // element is a 
Tabpanel component } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=82A56586-E6C2-4763-AFAE-B6B8B6D4826C}{tr:id=name}{td}h6.TEXT_AREA{td}{tr}{tr:id=des}{td}{sub-section:82A56586-E6C2-4763-AFAE-B6B8B6D4826C_des|text=|trigger=button}{sub-section}{sub-section:82A56586-E6C2-4763-AFAE-B6B8B6D4826C_des|trigger=none|class=sIndent}Constant representing
Radios field.
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idRECTANGLE
Table Row (tr)
idname
Table Cell (td)

RECTANGLE

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a rectangle element.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the 
TextArea type.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:82A56586-E6C2-4763-AFAE-B6B8B6D4826C_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:82A56586-E6C2-4763-AFAE-B6B8B6D4826C_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:82A56586-E6C2-4763-AFAE-B6B8B6D4826C_ret|text=|trigger=button}{sub-section}{sub-section:82A56586-E6C2-4763-AFAE-B6B8B6D4826C_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:82A56586-E6C2-4763-AFAE-B6B8B6D4826C_see|text=|trigger=button}{sub-section}{sub-section:82A56586-E6C2-4763-AFAE-B6B8B6D4826C_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:82A56586-E6C2-4763-AFAE-B6B8B6D4826C_see|text=|trigger=button}{sub-section}{sub-section:82A56586-E6C2-4763-AFAE-B6B8B6D4826C_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:82A56586-E6C2-4763-AFAE-B6B8B6D4826C_sam|text=|trigger=button}{sub-section}{sub-section:82A56586-E6C2-4763-AFAE-B6B8B6D4826C_sam|class=sIndent|trigger=none}{code:language=javascript}
TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.RECTANGLE)
{
     // element is a rectangle element
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idRTF_AREA
Table Row (tr)
idname
Table Cell (td)

RTF_AREA

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a rtf area of element.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.RTF_AREA)
{
     // element is a RTF textarea.
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idSPINNER
Table Row (tr)
idname
Table Cell (td)

SPINNER

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a spinner element.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Spinner type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.SPINNER)
{
     // element is a SPINNER element
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idSPLITPANE
Table Row (tr)
idname
Table Cell (td)

SPLITPANE

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a splitpane element.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element
of the TextArea
 type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.
TEXT_AREA
SPLITPANE)
{
     // element is a 
TextArea
splitpane 
field
element
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=C410AF45-2111-45B9-9316-CAE04B3BC6AB}{tr:id=name}{td}h6.TEXT_FIELD{td}{tr}{tr:id=des}{td}{sub-section:C410AF45-2111-45B9-9316-CAE04B3BC6AB_des|text=|trigger=button}{sub-section}{sub-section:C410AF45-2111-45B9-9316-CAE04B3BC6AB_des|trigger=none|class=sIndent}Constant representing
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idTABPANEL
Table Row (tr)
idname
Table Cell (td)

TABPANEL

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the Tabpanel type.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the 
TextField type.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:C410AF45-2111-45B9-9316-CAE04B3BC6AB_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:C410AF45-2111-45B9-9316-CAE04B3BC6AB_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:C410AF45-2111-45B9-9316-CAE04B3BC6AB_ret|text=|trigger=button}{sub-section}{sub-section:C410AF45-2111-45B9-9316-CAE04B3BC6AB_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:C410AF45-2111-45B9-9316-CAE04B3BC6AB_see|text=|trigger=button}{sub-section}{sub-section:C410AF45-2111-45B9-9316-CAE04B3BC6AB_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:C410AF45-2111-45B9-9316-CAE04B3BC6AB_see|text=|trigger=button}{sub-section}{sub-section:C410AF45-2111-45B9-9316-CAE04B3BC6AB_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:C410AF45-2111-45B9-9316-CAE04B3BC6AB_sam|text=|trigger=button}{sub-section}{sub-section:C410AF45-2111-45B9-9316-CAE04B3BC6AB_sam|class=sIndent|trigger=none}{code:language=javascript}
Tabpanel type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.TABPANEL)
{
     // element is a Tabpanel component
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idTEXT_AREA
Table Row (tr)
idname
Table Cell (td)

TEXT_AREA

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the TextArea type.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextArea type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.TEXT_AREA)
{
     // element is a TextArea field
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idTEXT_FIELD
Table Row (tr)
idname
Table Cell (td)

TEXT_FIELD

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the TextField type.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.TEXT_FIELD)
{
     // element is a text field
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idTYPE_AHEAD
Table Row (tr)
idname
Table Cell (td)

TYPE_AHEAD

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a typeahead element.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.
TEXT
TYPE_
FIELD
AHEAD)
{
     // element is a 
text
type 
field
ahead 
}
element
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}
}
Table Row (tr)
classlastDetailRow
Table Cell (td)