The mobi:flipSwitch component renders a control that toggles between on and off states.
Tos start using the FlipSwitch component, simply place the mobi:flipSwitch tag inside a form, bind its value to a boolean property in a backing bean, and optionally set labels for the on and off states.
This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available here.
The value attribute must be of type Boolean and represents the current state of this component.
The labelOn specifies the label of the switch for the On state.
The labelOff specifies the label of the switch for the Off state.
Client Behavior Events
|| Fired when the flip switch has changed its state.
This component appears in the following ICEfaces sample applications:
This component appears in the following ICEfaces tutorials: