def append_to_response( response, context )
take_value(:value)
take_value(:selection)
take_bool(:checked)
html = "<input type=\"checkbox\" name=\"#{name_value(context)}\""
html << %Q' value="#{escaped_string(@values[:value]) || DEFAULT_VALUE}"'
html << other()
if declared?(:checked) then
if @values[:checked] == true then
html << checked()
end
elsif @values[:selection] and (@values[:value] == @values[:selection]) then
html << checked()
end
html << enabled()
html << '/>'
response.content << html
end