...
Name | Description | Value |
---|---|---|
id | Unique Identifier | 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 component. | '[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value' |
readonly | If is true then checkbox is in read mode, cannot change value. | true,false |
datapath | Needs to correspond to the CRMDO object field. | |
datatype | The type of datapath field (java.lang.Integer, java.lang.String,...) | |
truevalue | the value to be assign on datapath when checkbox is checked | any |
falsevalue | the value to be assign on datapath when checkbox is not checked | any |
truelabel | the label of checked checkbox in read mode | any |
falselabel | the label of non checked checkbox in read mode | any |
defaultvalue | the default value to be assign on datapath. | any |
Examples
CheckBox
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<checkbox>
<id>chkApplyRounding</id>
<datapath>applyRounding</datapath>
<truevalue>1</truevalue>
<falsevalue>0</falsevalue>
<truelabel>Yes</truelabel>
<falselabel>No</falselabel>
<refresh>page</refresh>
<onchange>
<functions>
<function>
<type>staticjs</type>
<functionname>voidFunc</functionname>
</function>
</functions>
</onchange>
</checkbox> |