Overview | Library | Tag | Help
| FRAMES NO FRAMES

## ICEfaces-EE ACE Components
Tag radioButton

The Radio Button is a component that allows entry of a button which supports browsers that see radio as true or false, yes or no, on or off. Once a radio button is selected, it can only be deselected by selecting a different radio button within the same button group. The Themeroller check icon will be displayed by default when the radio is checked. Override the .ui-icon-check class to display a different image.

For more information, see the RadioButton Wiki Documentation.

Client Events
Name | Description | Supported classes for argument
activate | Fired when the button is clicked or pressed by any other means and changes to selected state (default event). | javax.faces.event.AjaxBehaviorEvent
deactivate | Fired when the button is clicked or pressed by any other means and changes to not selected state. | javax.faces.event.AjaxBehaviorEvent

Client events can be used with Client Behaviors and the ace:ajax tag.

Tag Information
Tag Class | org.icefaces.ace.component.radiobutton.RadioButtonTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
accesskey | no | true | `java.lang.String` | Access key that, when pressed, activates this component.
binding | no | true | `javax.el.ValueExpression` | Using an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean.
converter | no | true | `javax.faces.convert.Converter` | Converter is an interface describing a Java class that can perform Object-to-String and String-to-Object conversions between model data objects and a String representation of those objects that is suitable for rendering.
converterMessage | no | true | `java.lang.String` | If present, will be used as the text of the converter message, replacing any message that comes from the converter.
disabled | no | true | `boolean` | If true no input may be submitted via this component. Default = 'false'.
group | no | true | `java.lang.String` | ID of button group component if this button is outside of the button group but wants to logically belong to the group.
id | no | true | `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 | no | true | `boolean` | A flag indicating that conversion and validation of this component's value should occur during Apply Request Values phase instead of Process Validations phase. Default = 'false'.
label | no | true | `java.lang.String` | Label to be displayed for the button.
labelPosition | no | true | `java.lang.String` | Position of label relative to the radio button. Supported values are "left/right/top/bottom/none". Default is "none".
rendered | no | true | `boolean` | Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle. Default = 'true'.
required | no | true | `boolean` | A flag indicating whether the user required to provide a non-empty submitted value for this component. Default = 'false'.
requiredMessage | no | true | `java.lang.String` | If present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used.
style | no | true | `java.lang.String` | The inline style of the component, rendered on the root div of the component.
styleClass | no | true | `java.lang.String` | The CSS style class of the component, rendered on the root div of the component.
tabindex | no | true | `java.lang.Integer` | Tabindex of the component.
validator | no | true | `javax.el.MethodExpression` | MethodExpression 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 | no | true | `java.lang.String` | If present, will be used as the text of the validator message, replacing any message that comes from the validator.
value | no | true | `java.lang.Object` | The current value of the simple component. The value to be rendered.
valueChangeListener | no | true | `javax.el.MethodExpression` | MethodExpression 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, or to a public method that takes no arguments with a return type of void. 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".

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.