| |||||||
FRAMES NO FRAMES |
Render a set of html "input" elements of type "radio".
See the "Decode Behavior for UISelectOne Components" section.
Encode Behavior
Render a "table" element. If the "styleClass" is specified, render the value of the "styleClass" attribute as the value of the "class" attribute on the "table" element. If the "style", "border" attributes are specified, pass them thru. If the "layout" attribute is specified, and its value is "spread", let the radio tag do the rendering. If the "layout" attribute is specified, and its value is "pageDirection", render the children elements vertically, otherwise horizontally, in the table. If any of the children are an instance of SelectItemGroup, render them as a nested table. Render a "label" element. Each of the children are ultimately rendered as an "input" element of "type" "radio". 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. The "id" attribute must not be output on each "input" element. Output the value of the "label" attribute of the SelectItem
after the "input" element. 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". If the current SelectItem.isDisabled() returns true, render "disabled" as the value of the "disabled" attribute. See the "Rendering the option elements" specification for ListboxRenderer
for more detail on how to render the "option" elements in this renderer. Close out the "label" element.
Tag Information | |
Tag Class | com.icesoft.faces.component.SelectOneRadioTag |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
accesskey | false | false | java.lang.String | Access key that, when pressed, transfers focus to this element. |
autocomplete | false | false | java.lang.String | Passed through to root element. |
binding | false | false | java.lang.String | The value binding expression linking this component to a property in a backing bean |
border | false | false | java.lang.String | Width (in pixels) of the border to be drawn around the table containing the options list. |
converter | false | false | java.lang.String | Converter instance registered with this component. |
converterMessage | false | false | java.lang.String | A ValueExpression enabled attribute that, if present, will be used as the text of the converter message, replacing any message that comes from the converter. |
dir | false | false | java.lang.String | Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left). |
disabled | false | false | java.lang.String | Flag indicating that this element must never receive focus or be included in a subsequent submit. |
disabledClass | false | false | java.lang.String | No Description |
effect | false | false | java.lang.String | The Javascript Effect |
enabledClass | false | false | java.lang.String | No Description |
enabledOnUserRole | false | false | java.lang.String | If user is in given role, this component will be rendered normally. If not, the component will be in disabled state. |
id | false | false | java.lang.String | The component identifier for this component. This value must be unique within the closest parent component that is a naming container. |
immediate | false | false | java.lang.String | Flag 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. |
label | false | false | java.lang.String | A localized user presentable name for this component. |
lang | false | false | java.lang.String | Code describing the language used in the generated markup for this component. |
layout | false | false | java.lang.String | Orientation of the options list to be created. Valid values are "pageDirection" (list is laid out vertically), or "lineDirection" (list is laid out horizontally), or spread (list is laid out by radio tags). If not specified, the default value is "lineDirection". |
legend | false | false | java.lang.String | Legend for the fieldset grouping the radio buttons. Note: fieldset border set to none in theme stylesheets. You need to override the CSS border property for the fieldset to display the border normally seen with a legend. |
onblur | false | false | java.lang.String | Javascript code executed when this element loses focus. |
onchange | false | false | java.lang.String | Javascript code executed when this element loses focus and its value has been modified since gaining focus. |
onclick | false | false | java.lang.String | No Description |
onclickeffect | false | false | java.lang.String | Effect invoked on onclick event |
ondblclick | false | false | java.lang.String | No Description |
ondblclickeffect | false | false | java.lang.String | Effect invoked on ondblclick event |
onfocus | false | false | java.lang.String | Javascript code executed when this element receives focus. |
onkeydown | false | false | java.lang.String | No Description |
onkeydowneffect | false | false | java.lang.String | Effect invoked on onkeydown event |
onkeypress | false | false | java.lang.String | No Description |
onkeypresseffect | false | false | java.lang.String | Effect invoked on onkeypress event |
onkeyup | false | false | java.lang.String | No Description |
onkeyupeffect | false | false | java.lang.String | Effect invoked on onkeyup event |
onmousedown | false | false | java.lang.String | No Description |
onmousedowneffect | false | false | java.lang.String | Effect invoked on onmousedown event |
onmousemove | false | false | java.lang.String | No Description |
onmousemoveeffect | false | false | java.lang.String | Effect invoked on onmousemove event |
onmouseout | false | false | java.lang.String | No Description |
onmouseouteffect | false | false | java.lang.String | Effect invoked on onmouse event |
onmouseover | false | false | java.lang.String | No Description |
onmouseovereffect | false | false | java.lang.String | Effect invoked on onmouseover event |
onmouseup | false | false | java.lang.String | No Description |
onmouseupeffect | false | false | java.lang.String | Effect invoked on onmouseup event |
onselect | false | false | java.lang.String | Javascript code executed when text within this element is selected by the user. |
partialSubmit | false | false | java.lang.String | Enable component to perform partial submit. Default value is false. |
readonly | false | false | java.lang.String | Flag indicating that this component will prohibit changes by the user. The element may receive focus unless it has also been disabled. This attribute is valid for input types "text" and "password" only. It is non-functional for other input types like "radio" or "checkbox". |
rendered | false | false | java.lang.String | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. |
renderedOnUserRole | false | false | java.lang.String | If user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped. |
required | false | false | java.lang.String | Flag indicating that the user is required to provide a submitted value for this input component. |
requiredMessage | false | false | java.lang.String | A 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. |
style | false | false | java.lang.String | CSS style(s) to be applied when this component is rendered. |
styleClass | false | false | java.lang.String | The base name for all style classes. Default is iceSelOneRb if enabled and iceSelOneRb-dis if disabled. |
tabindex | false | false | java.lang.String | Position of this element in the tabbing order for the current document. This value must be an integer between 0 and 32767. |
title | false | false | java.lang.String | Advisory title information about markup elements generated for this component. |
validator | false | false | java.lang.String | MethodBinding representing a validator method that will be called during Process Validations to perform correctness checks on the value of this component. The expression must evaluate to a public method that takes FacesContext, UIComponent, and Object parameters, with a return type of void. |
validatorMessage | false | false | java.lang.String | A ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message that comes from the validator. |
value | false | false | java.lang.String | The current value of this component. All UIInput derived UIComponents, that are placed within a UIData container, such as a dataTable or panelSeries, should have their value attribute bound to a bean property via a ValueBinding/ValueExpression, since otherwise the UIData container will not keep their successfully validated state, which can cause the component to fail to function properly. |
valueChangeListener | false | false | java.lang.String | MethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void. |
visible | false | false | java.lang.String | Set the visibility of this component. When false CSS style is set to display:none |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |