<sas:Radio>

Generates the appropriate HTML 4.0/XHTML 1.0 INPUT tag attributes to represent a radiobox.

Syntax

<sas:Radio
   [accessKey="java.lang.String"]
   [customAttributes="java.lang.String"]
   [descriptionModel="java.lang.String"]
   [displayButtonText="true|false"]
   [enabled="true|false"]
   [epilog="java.lang.String"]
   [id="value"]
   [instantiate="true|false"]
   [labelBolding="false|true"]
   [labelOrientation="java.lang.String"]
   [labelVisible="true|false"]
   [locale="java.util.Locale"]
   [model="java.lang.String"]
   [name="java.lang.String"]
   [objectDataProperty="java.lang.String"]
   [onBlur="java.lang.String"]
   [onChange="java.lang.String"]
   [onClick="java.lang.String"]
   [onDblClick="java.lang.String"]
   [onFocus="java.lang.String"]
   [onKeyDown="java.lang.String"]
   [onKeyPress="java.lang.String"]
   [onKeyUp="java.lang.String"]
   [onMouseDown="java.lang.String"]
   [onMouseMove="java.lang.String"]
   [onMouseOut="java.lang.String"]
   [onMouseOver="java.lang.String"]
   [onMouseUp="java.lang.String"]
   [onSelect="java.lang.String"]
   [orientation="java.lang.String"]
   [prolog="java.lang.String"]
   [ref="java.lang.String"]
   [render="true|false"]
   [renderType="html|wml|hdml"]
   [scope="page|request|session|application"]
   [selectedIndex="int"]
   [selectedItem="java.lang.String"]
   [styleClassPrefix="java.lang.String"]
   [tabIndex="java.lang.String"]>
      [<sas:Item .../>]
      [<sas:StyleMapKey .../>]
      [<sas:RequiredStringValidator .../>]
      [<sas:SetProperty ...>
         The value to set on the parent tag
      </sas:SetProperty>]
      [Additional <sas:Item>, <sas:StyleMapKey>, <sas:SetProperty> tags...]
      [One or more data items on separate lines]
</sas:Radio>

Attributes

accessKeyThe shortcut to apply to the Form control.
customAttributesa list of attributes in the form of attribute="value", space delimited
descriptionModelAlternate display name for items in the model at run-time.
displayButtonTextDetermines whether or not the button text should be displayed.
enabledstate of the form element
epilogText that is output immediately after the last markup tag.
idCase-sensitive name used to identify the object instance.
instantiateFlag that, if true, indicates that a new instance of the underlying class should be loaded if one cannot be found in PageContext. Must be used with an id attribute.
labelBoldingSets whether the to bold the label when the radio button is selected: TRUE bold label Default value is FALSE.
labelOrientationThe alignment of the label for the radio buttons.
labelVisibleDetermines whether or not the button text should be displayed.
localeSpecifies the locale to use for this instance of the class.
modelThe model of the Radio.
nameValue assigned to the markup tag's name attribute.
objectDataPropertyValue assigned to the output tag's objectDataProperty attribute.
onBlurThe onBlur event handler to apply to the Form control.
onChangeThe onChange event handler to apply to the Form control.
onClickThe onClick
onDblClickThe onDblClick
onFocusThe onFocus event handler to apply to the Form control.
onKeyDownThe onKeyDown
onKeyPressThe onKeyPress
onKeyUpThe onKeyUp
onMouseDownThe onMouseDown
onMouseMoveThe onMouseMove value
onMouseOutThe onMouseOut event handler to apply to the Form control.
onMouseOverThe onMouseOver event handler to apply to the Form control.
onMouseUpThe onMouseUp
onSelectThe onSelect
orientationThe alignment of the radio buttons.
prologText that is output immediately preceeding the first markup tag.
refThe variable String value that represents an object created earlier in the same scope.
renderFlag that, if true, indicates that the complete markup of the bean is output when the tag is closed. It also sets the the visible property on the underlying TransformationBean.
renderTypeType of markup for the output tag(s).
scopeThe scope (or page context) within which the reference is available.
selectedIndexThe index of an item in the Radio to make selected.
selectedItemThe selected item specified in the Radio.
styleClassPrefixThe styleClassPrefix
tabIndexThe tabindex to apply to the Form control.

More Information

To view the documentation for the related TransformationBean, see com.sas.servlet.tbeans.form.BaseRadio.

If you need to subclass the tag handler class for the sas:Radio tag, extend com.sas.taglib.servlet.tbeans.form.RadioTag.