CheckboxGroup

A component defining a group of checkboxes that will be controlled together. Typically the ControlCheckbox and ControlledCheckbox components are placed in the body of this component.

CheckboxGroup selection of table columns.

See also: ControlCheckbox , ControlledCheckbox

Parameters

Name Type Required Default Description
No parameters defined.

Body: allowed

Informal parameters: forbidden

Reserved parameters: none

Examples

Template

	
<form jwcid="form">
    <span jwcid="checkboxGroup">
    	<input jwcid="controlCheckbox"/>	
    		<input jwcid="controlledCheckbox1"/>
    		<input jwcid="controlledCheckbox2"/>
    		<input jwcid="controlledCheckbox3"/>                        
    </span>    
    ...
</form>    
	

Specification

<property name="state1" persist="session" initial-value="false"/>
<property name="state2" persist="session" initial-value="false"/>
<property name="state3" persist="session" initial-value="false"/>        
	
   <component id="checkboxGroup" type="contrib:CheckboxGroup"/>    
   <component id="controlCheckbox" type="contrib:ControlCheckbox"/>
   
<component id="controlledCheckbox1" type="contrib:ControlledCheckbox">
	<binding name="value" value="state1"/>
</component>   
<component id="controlledCheckbox2" type="contrib:ControlledCheckbox">
	<binding name="value" value="state2"/>
</component> 
<component id="controlledCheckbox3" type="contrib:ControlledCheckbox">
	<binding name="value" value="state3"/>
</component>