dbforms
Tag radio


renders a HTML RADIO element or a whole group of them

Example:
					
						radio tag, may be a radio group as well and it
						may contain nested DbData-Tags(like tableData,
						queryData, staticData, ...)
					
					
						Example:
						
					
					
						<!We want to display a group of radio button,
						use the value of fieldName 'timeframe' for the
						default list selection. In INSERT mode, use the
						
						first entry -->
						
						<db:radio fieldName="timeframe"
						
						growDirection="vertical"
						
						defaultValue="0" >
						
						<db:staticData name="myQuery">
						
						<db:staticDataItem key="0"
						value="9:00 12:00"/>
						
						<db:staticDataItem key="1"
						value="12:01 15:00"/>
						
						<db:staticDataItem key="2"
						value="15:01 18:00"/>
						
						<db:staticDataItem key="3"
						value="18:01 21:00"/>
						
						</db:staticData>
						
						</db:radio>
						
					
				


Tag Information
Tag Classorg.dbforms.taglib.DbRadioTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsetruejava.lang.String Identification which can be used to 'pinpoint' dbForms fields for use in JavaScript methods. Note: Not supported by all browser! Example: <db:radio fieldName="FIELD3" id="radioGroup"> </db:radio>
fieldNametruetruejava.lang.String name of the field this tag references to
defaultValuefalsetruejava.lang.String default field name to use if the specified field is empty.
growDirectionfalsetruejava.lang.String for radio groups only: in which direction should the group grow: valid values are "horizontal" and "vertical"
growSizefalsetruejava.lang.String Allows a developer to limit the number of elements per row by generating [TABLE] [TR] [TD] html tags.
accessKeyfalsetruejava.lang.String The keyboard character used to move focus immediately to thiselement.
readOnlyfalsetruejava.lang.String Rendering of read-only html widgets WARNING: This is not terribly secure as it becomes editable if javascript is disabled in the browser. A More secure option is not placing an update button on your form.
onBlurfalsetruejava.lang.String JavaScript event handler executed when this element loses inputfocus.
onChangefalsetruejava.lang.String JavaScript event handler executed when this element loses inputfocus and its value has changed.
onClickfalsetruejava.lang.String JavaScript event handler executed when this element receives amouse click.
onDblClickfalsetruejava.lang.String JavaScript event handler executed when this element receives amouse double click.
onFocusfalsetruejava.lang.String JavaScript event handler executed when this element receives inputfocus.
onKeyDownfalsetruejava.lang.String JavaScript event handler executed when this element has focus and akey is depressed.
onKeyPressfalsetruejava.lang.String JavaScript event handler executed when this element has focus and akey is depressed and released.
onKeyUpfalsetruejava.lang.String JavaScript event handler executed when this element has focus and akey is released.
onMouseDownfalsetruejava.lang.String JavaScript event handler executed when this element is under the mousepointer and a mouse button is depressed.
onMouseMovefalsetruejava.lang.String JavaScript event handler executed when this element is under themouse pointer and the pointer is moved.
onMouseOutfalsetruejava.lang.String JavaScript event handler executed when this element was under themouse pointer but the pointer was moved outside the element.
onMouseOverfalsetruejava.lang.String JavaScript event handler executed when this element was not underthe mouse pointer but the pointer is moved inside the element.
onMouseUpfalsetruejava.lang.String JavaScript event handler executed when this element is under themouse pointer and a mouse button is released.
onSelectfalsetruejava.lang.String JavaScipt event hanlder executed when the user selects some text
styleClassfalsetruejava.lang.String CSS stylesheet class to be applied to this HTML element.
readOnlyStyleClassfalsetruejava.lang.String CSS stylesheet class to be applied to this HTML element (read-only mode).
stylefalsetruejava.lang.String CSS styles to be applied to this HTML element.
titlefalsetruejava.lang.String this defines the "title" attribute for the HTML4 tag.
tabIndexfalsetruejava.lang.String The tab order (ascending positive integers) for this element.

Variables
No Variables Defined.


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.