Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDescriptionValue
id

Unique Identifier

any
visiblemodesThe modes the button should be visible.A comma-separated list of the modes read / new / edit
visibilityconditionsThe conditions that should be met in order to display the component.'[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value'
readonlyIf 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,...)
truevaluethe value to be assign on datapath when checkbox is checkedany
falsevaluethe value to be assign on datapath when checkbox is not checkedany
truelabelthe label of checked checkbox in read modeany
falselabelthe label of non checked checkbox in read modeany
defaultvaluethe default value to be assign on datapath.any

 

                      

Examples

CheckBox

 

Image Added

Image Added 

...

Code Block
languagehtml/xml
titleTab
linenumberstrue
<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>