CheckboxButton

You are viewing an old version (v. 27) of this page.
The latest version is v. 38, last edited on May 08, 2018 (view differences | )
<< View previous version | view page history | view next version >>

Overview

The ace:checkboxButton component is a simple true/false selection used to toggle a value that is bound to the button. As of 3.3.0_P02 release, the buttonGroup component can be used to manage a group of checkboxButton components.

Getting Started

<html ... xmlns:ace="http://www.icefaces.org/icefaces/components">
<h:body class="ice-skin-rime">
    <h:form>
        <ace:checkboxButton
            value="{button.checked}"
            label="checkbox"/>
    </h:form>
</h:body>
</html>

Attributes

TagLib Documentation
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.

label The label of the button-what the user sees that relates to that particular button. For example, "Remember Me"

style a pass through to the root element of the component.

group ID of button group component if this button is outside of the button group but wants to logically belong to the group.

styleClass a pass through to the root element of the component.

tabindex a pass through to the root element of the component, default=0.

disabled a pass through to the root element of the component.

The following attributes are supported as pass-thru attributes: accesskey, alt, dir, label, lang, style, tabindex, title, type, onchange, onselect, onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onblur, onfocus

Event Listeners

As a descendant of UIInput, this component supports a value change listener.

valueChangeListener Method that will be notified when a new value has been set for this component

Client Behavior Events

activate Fired when the button is clicked or pressed by any other means (default event).

JavaScript API

None.

Keyboard Support

Default browser keyboard support for <button> elements (i.e. tabbing in and out, pressing space to activate).

Known Issues

None.

Additional Resources

None.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2017 ICEsoft Technologies Canada Corp.