Implemented WSF_CHECKBOX_CONTROL, added id attribute to rendering of WSF_CONTROL

This commit is contained in:
Severin Münger
2013-09-05 17:16:56 +02:00
parent edce18fb1f
commit f506d9e925
6 changed files with 93 additions and 12 deletions

View File

@@ -91,7 +91,7 @@ feature
if not css_classes_string.is_empty then
css_classes_string := " class=%"" + css_classes_string + "%""
end
Result := "<" + tag_name + " data-name=%"" + control_name + "%" data-type=%"" + generator + "%" " + attributes + css_classes_string
Result := "<" + tag_name + " id=%"" + control_name + "%" data-name=%"" + control_name + "%" data-type=%"" + generator + "%" " + attributes + css_classes_string
if body.is_empty then
Result := Result + " />"
else