Description
This element is used to display radio button selectors on the page.
...
Name | Description | Value | |
---|---|---|---|
id | Unique Identifier | anyAny | |
name | The radio button name | Any | |
visiblemodes | The modes the button 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 radio button. | '[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value' | |
readonly | If is true then radio button cannot change value. | true,false | |
readonlyconditions | The conditions that should be met in order to display the radio button 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 | java.lang.Integer, java.lang.String,... | |
refresh | The page parts that should be refreshed when the radio button value change. | 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 lookuptype is equals to dataset | the file path under the folder 'Crm/WebContent/pages/search' | |
alwayseditable | radio buttons can be defined as always editable | true, false | |
reload | If is set to true then means that radio button will be called on every refresh of page. For lookuptype: dataset, ejb | true, false | |
options | Defines the options of radio button. For lookuptype: fixed | option1:option_label1;option2:option_label2;option3:option_label3 | |
value | Defines the current value of radio button | '[[pagefunction, datatype, datapath ]]' | |
defaultvalue | the default value to be assign on datapath. | any | |
onload | Defines the function call triggered to load radio button. For lookuptype: ejb | <function>…</function> | |
onchange | Defines the function call(s) triggered when radio button value changed. | <functions>…</functions> |
...
Example
...
Expand |
---|
...
|
...
| Radio button -
| linenumberstrue |
|
...
Expand |
---|
Radio button - Ejb lookup
Code Block | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
|
Expand |
---|
Radio button - Dataset lookup
Code Block | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
|