This page last changed on Dec 14, 2004 by casey.

<ww:radio />

An HTML Radiobox UI widget

In this example, a radio control is displayed with a list of genders. The gender list is built from attribute id=genders. WW calls getGenders() which will return a Map. For examples using listKey and listValue attributes, see the section select tag.

<ww:action name="'GenderMap'" id="genders"/>
<ww:radio label="'Gender'" name="'male'" list="#genders.genders"/>

Attributes
Name Required Description
id no HTML id attribute
name yes HTML name attribute
value no Data to pass as field value
list no Iteratable source to populate from
listKey no Property of list objects to get field value from
listValue no Property of list objects to get field content from
disabled no HTML disabled attribute
tabindex no HTML tabindex attribute
onchange no HTML onchange attribute
onclick no HTML onclick attribute
label no Text used as label in template
labelposition no Alignment of label (left,right,center)
theme no Theme to use
template no Name of template to use
required no Is field required for form submission
Document generated by Confluence on Dec 14, 2004 16:36