Project Documentation


Tag name: <t:treeCheckbox>
UIComponent class: org.apache.myfaces.custom.tree.HtmlTreeCheckbox
Tag class: org.apache.myfaces.custom.tree.taglib.TreeCheckboxTag
Component type: org.apache.myfaces.HtmlTreeCheckbox
Component family: org.apache.myfaces.HtmlTreeCheckbox
Renderer type: org.apache.myfaces.HtmlTreeCheckbox
Renderer class: org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeCheckboxRenderer

Renders a HTML input of type "treeCheckbox". The associated comes from the treeCheckbox itemLabel and itemValue. The selected items come from an extended selectManyCheckbox component with layout "spread". The selectManyCheckbox is referenced by the "for" attribute. All HTML pass-through attributes for this input are taken from the associated selectManyCheckbox. Unless otherwise specified, all attributes accept static values or EL expressions.


Name Type Supports EL? Description
binding String Only EL Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression.
for String Yes id of the referenced extended selectManyCheckbox component
id String Yes An identifier for this particular component instance within a component view.

The id must be unique within the scope of the tag's enclosing NamingContainer (eg h:form or f:subview). The id is not necessarily unique across all components in the current view

This value must be a static value, ie not change over the lifetime of a component. It cannot be defined via an EL expression; only a string is permitted.

itemDescription String Yes An optional description for this item. For use in development tools.
itemDisabled boolean Yes Determine whether this item can be chosen by the user.
itemLabel String Yes Get the string which will be presented to the user for this option.
itemValue Object Yes The value of this item, of the same type as the parent component's value.
value Object Yes An EL expression that refers to a javax.faces.model.SelectItem instance.