Width (in pixels) of the border to be drawn around the table containing the options list.ĭirection indication for text that does not inherit directionality. In the latter case, the method has no way of easily knowing what the new value is, but this can be useful in cases where a notification is needed that "this value changed".Īccess key that, when pressed, transfers focus to this element. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void, or to a public method that takes no arguments with a return type of void. MethodExpression representing a value change listener method that will be notified when a new value has been set for this input component. ( signature must match void valueChange()) The expression must evaluate to a public method that takes FacesContext, UIComponent, and Object parameters, with a return type of void.Ī ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message that comes from the validator. MethodExpression representing a validator method that will be called during Process Validations to perform correctness checks on the value of this component. ( signature must match void validate(,, )) The default value for this property is true.įlag indicating that the user is required to provide a submitted value for this input component.Ī ValueExpression enabled attribute that, if present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used. This value must be unique within the closest parent component that is a naming container.įlag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.įlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The component identifier for this component. ( must evaluate to )Ĭonverter instance registered with this component.Ī ValueExpression enabled attribute that, if present, will be used as the text of the converter message, replacing any message that comes from the converter. Note that this renderer does not support SelectItemGroup elements, so the text that describes the rendering of SelectItemGroup does not apply to this renderer.
See the "Rendering the option elements" specification for ListboxRenderer for more detail on how to render the "option" elements in this renderer. If the value of the currently rendered child is equal to the value of the parent UISelectOne, render an appropriate HTML boolean value indicating "checked" for the enclosing "input". Coerce the value of the currently rendered child to the type of the parent UISelectOne value using the Expression Language coercion rules before comparing the values. As an exception to the general rules about how to handle the "id" attribute, render it as an attribute on the outer "table" element, the value of which is the clientId of the component per the rules at the beginning of this specification. Close out the starting "label" element and render the label value from SelectItem.getLabel(). Render any "style" as the "class" attribute on the "label" element. Render the "for" attribute of the "label" element whose value is the corresponding "input" element's "id" value. If the current SelectItem.isDisabled() returns true, render "disabled" as the value of the "disabled" attribute. Render an "id" attribute on the "input" element. Render the "name" attribute on the "input" element with the value of the clientId of the component. Render an "input" element of "type" "radio" for each child component.
Each of the children are ultimately rendered as follows. If any of the children are an instance of SelectItemGroup, render them as a nested table. If the "layout" attribute is specified, and its value is "pageDirection", render the children elements vertically, otherwise horizontally, in the table.
If the "style", "border" attributes are specified, pass them thru and render their values as the "style" and "border" attributes on the "table", respectively. If the "styleClass" is specified, render the value of the "styleClass" attribute as the value of the "class" attribute on the "table" element. See the "Decode Behavior for UISelectOne Components" section. Render a set of html "input" elements of type "radio". (JSF 2.1 View Declaration Language: Facelets Variant)