The tag `<tc:selectBooleanCheckbox/>` generate a classic boolean checkbox.

<tc:selectBooleanCheckbox label="Checkbox" value="true"/>

In this example, the selected items are displayed in an output field after the submit-button is pressed.

<tc:selectBooleanCheckbox label="A" value="\#{selectBooleanCheckboxController.a}"/> <tc:out label="Selected items: " value="\#{selectBooleanCheckboxController.selectedItems}"/>

The output fields always shows the current value of the checkbox. With `<f:ajax render="output"/>`, the output field will be rerendered, after the value changed in the `<tc:selectBooleanCheckbox label="Character" value="#{selectBooleanCheckboxController.d}"/>`. The ID of the output field and the value in the `render` attribute of the ajax tag has to be the same.

<tc:selectBooleanCheckbox itemLabel="Japanese Yen" itemIcon="bi bi-currency-yen"/> <tc:selectBooleanCheckbox itemLabel="Trinidad & Tobago Dollar" itemImage="#{request.contextPath}/image/TTD-14.png"/> <tc:selectBooleanCheckbox itemLabel="US Dollar" itemIcon="bi bi-currency-dollar"/> <tc:selectBooleanCheckbox itemLabel="Euro" itemIcon="bi bi-currency-euro"/>