def view
control_widget = form.control[@properties.for_id]
unless (control_widget) then
raise WidgetError, "not found a widget of #{for_id}"
end
ctl_id = control_widget.component_name + '.' + @properties.call_index.to_s
make_attr_desc{|attr_desc|
attr_desc += ' for="' + escapeHTML(ctl_id) + '"'
yield('<label' + attr_desc + '>')
if (has_children?) then
for component in @child_components
component.make_page do |page_text|
yield(page_text)
end
end
elsif (@properties.has_string?) then
yield(escapeHTML(@properties.string))
end
yield('</label>')
}
nil
end