Overview | Library | Tag | Help
| FRAMES NO FRAMES

## ICEfaces EE Composite Components
Tag triStateCheckbox

## Tri State Checkbox Composite Component.

### Features

- The Tri State Checkbox has 3 associated states
  - Unchecked
  - Partially Checked
  - Checked
- You can define the order of state-change. The default order is unchecked -> partially checked -> checked

### How To Use

1. Create an instance of the SelectPartialCheckbox class in your managed bean
2. Add the <ice-cc:triStateCheckboxcss/> tag to your page. Nest <ice-cc:css/> in your page <head> tag.
3. Bind the bean attribute on the tag to your managed bean property (eg. bean="#{myBean.checkbox})

Example:

    <ice-cc:triStateCheckbox id="uniqueId" bean="#{bean}"/>

Tag Information
Tag Class | javax.faces.webapp.FacetTag
TagExtraInfo Class | None
Body Content | tagdependent
Display Name | Tri State Checkbox

Attributes
Name | Required | Request-time | Type | Description
id | true | false | `java.lang.String` | A unique id for the component.
bean | true | false | `com.icesoft.faces.facelets.component.tristatecheckbox.TriStateCheckbox` | The bean attribute must resolve to an instance of the TriStateCheckbox class.
disabled | false | false | `java.lang.Boolean` | Flag indicating that this component must never receive focus or be included in a subsequent submit.
styleContainer | false | false | `java.lang.String` | Passed through to style attribute on container
styleButton | false | false | `java.lang.String` | Passed through to style attribute on ice:commandButton
alt | false | false | `java.lang.String` | Alternate textual description of the element rendered by this component.
title | false | false | `java.lang.String` | Passed through to underlying component
effect | false | false | `com.icesoft.faces.context.effects.Effect` | The Javascript Effect

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.