Panel | ||
---|---|---|
| ||
SelectboxThis element is used to display a select box on the page. |
Attributes
Name | Description | Value |
---|---|---|
id | Unique Identifier. | Any |
name | The selectbox name. | Any |
visiblemodes | The modes the selectbox should be visible. | A comma-separated list of the modes (read, new, edit) |
visibilityconditions | The conditions that should be met in order to display the selectbox. | '[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value' |
readonly | If true then the selectbox value cannot be changed. | true or false |
readonlyconditions | The conditions that should be met in order to display the selectbox in read only mode. | '[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value' |
datapath | The data path field name. | Needs to correspond to the CRMDO object field |
datatype | The type of datapath field. | alias, java.lang.Integer, java.lang.String, ... |
refresh | The parts of the page that should be refreshed when the selectbox value is changed. | page mainmenu main details tab,tabID component,is_on_tab:is_on_menu:tabID:componentID element,is_on_tab:is_on_menu:tabid:componentID:elementID section,sectionID area,areaID |
type | The type 'singleline' can be used to show all options in one line, instead of one per row. | singleline |
lookuptype | The type of lookup. | fixed, dataset, ejb |
lookupname | The dataset name if the lookuptype is equal to dataset. | The file path under the folder 'Crm/WebContent/pages/search' |
alwayseditable | Selectboxes can be defined as always editable. | true or false |
reload | If set to true then it means that the selectbox will be called on every refresh of the page. For lookuptype: dataset, ejb | true or false |
options | Defines the selectbox options. For lookuptype: fixed | option1:option_label1;option2:option_label2;option3:option_label3 |
value | Defines the current value of the selectbox. | '[[pagefunction, datatype, datapath ]]' |
defaultvalue | The default value to be assigned to the datapath. | Any |
onload | Defines the function call triggered to load the selectbox. For lookuptype: ejb | <function>…</function> |
onchange | Defines the function call(s) triggered when the selectbox value is changed. | <functions>…</functions> |
...