arya-blue
luna-amber
luna-blue
luna-green
luna-pink
nova-dark
nova-light
saga-blue
vela-blue
TriStateManyCheckbox
The TriStateManyCheckbox add a new state to the a common SelectManyBooleanCheckbox. The value for the state of the elements are mapped to 0,1,2 string values.

This component supports validators and converters and also can be customized with CSS classes for icons.

Choose the uses cases to see pe:triStateManyCheckbox in action.
Components and more
Documentation pe:triStateManyCheckbox
Attributes (move mouse over the names to see data types)
Name Description
accesskeyAccess key to transfer focus to the input element.
bindingAn EL expression referring to a server side UIComponent instance in a backing bean.Default is generated.
borderDefault is 0.
converterEL expression resolves to a converter instance or literal converter ID defining a component converter.
converterMessage
dirDirection indication for text that does not inherit directionality.
disabledSpecifies that an element should be disabled.Default is false.
disabledClass
enabledClass
flexUse modern FlexGrid CSS for this component.
hideNoSelectionOptionFlag indicating that, if this component is activated by the user, The "no selection option", if any, must be hidden.Default is false.
idUnique identifier of the component in a namingContainer.Default is generated.
immediateWhen set true, process validations logic is executed at apply request values phase for this component.Default is false.
labelA localized user presentable name.
lang
layoutLayout style: 'pageDirection' for vertical flow, or grid layout.
onblurFires when an element loses focus.
onchangeFires when the value of an element has been changed.
onclickFires when a mouse click on the element.
ondblclickFires when a mouse double-click on the element.
onfocusFires when an element gets focus.
onkeydownFires when a user is pressing a key.
onkeypressFires when a user presses a key.
onkeyupFires when a user releases a key.
onmousedownFires when a mouse button is pressed down on an element.
onmousemoveFires when the mouse pointer is moving while it is over an element.
onmouseoutFires when the mouse pointer moves out of an element.
onmouseoverFires when the mouse pointer moves onto an element.
onmouseupFires when a mouse button is released over an element.
onselect
readonlySpecifies that an input field is read-only.Default is false.
renderedBoolean value to specify the rendering of the component, when set to false component will not be rendered.Default is true.
requiredMarks component as required.Default is false.
requiredMessage
role
selectedClass
stateOneIconIcon class for state one (unchecked).
stateOneTitleTitle/tooltip for state one.
stateThreeIconIcon class for state three (indeterminate).
stateThreeTitleTitle/tooltip for state three.
stateTwoIconIcon class for state two (checked).
stateTwoTitleTitle/tooltip for state two.
styleSpecifies an inline CSS style for an element.
styleClassSpecifies one or more CSS class names for an element.
tabindexSpecifies the tab order of an element.
titleSpecifies extra information about an element (displayed as a tooltip).
unselectedClass
validatorA method expression referring to a method validating the input.
validatorMessage
valueValue of the component.
valueChangeListenerA method binding expression referring to a method for handling a valuchangeevent.
widgetVarName of the client side widget.
PrimeFaces Extensions Showcase - © 2011-2025,PrimeFaces: 16.0.0-SNAPSHOT,PrimeFaces Extensions: 16.0.0-SNAPSHOT,JSF: Apache MyFaces Core 4.0 - Impl 4.0.3,Server: Apache Tomcat (TomEE)/10.1.52 (10.1.4),Build time: 2026-03-13 11:37