def view
form.set_call_range(self)
make_attr_desc{ |attr_desc|
attr_desc += ' name="' + escapeHTML((@properties.has_name?) ? @properties.name : component_name) + '"'
attr_desc += ' type="radio"'
attr_desc += ' value="' + escapeHTML((@properties.has_value?) ? @properties.value : action_id) + '"'
if (@properties.has_checked?) then
if (@properties.checked) then
attr_desc += ' checked="checked"'
end
elsif (@properties.has_value? && @properties.has_selected?) then
if (@properties.value == @properties.selected) then
attr_desc += ' checked="checked"'
end
end
yield('<input' + attr_desc + ' />')
}
nil
end