allow to to set html attribute to the select widget

(useful to add code like  onchange="this.form.submit()")
This commit is contained in:
Jocelyn Fiat
2013-03-26 15:27:23 +01:00
parent a23871ff5b
commit c3c8c66f59

View File

@@ -12,6 +12,8 @@ inherit
WSF_FORM_UTILITY WSF_FORM_UTILITY
WSF_WITH_HTML_ATTRIBUTE
create create
make make
@@ -115,6 +117,7 @@ feature -- Conversion
append_css_class_to (a_html, Void) append_css_class_to (a_html, Void)
append_css_id_to (a_html) append_css_id_to (a_html)
append_css_style_to (a_html) append_css_style_to (a_html)
append_html_attributes_to (a_html)
if is_readonly then if is_readonly then
a_html.append (" readonly=%"readonly%" />") a_html.append (" readonly=%"readonly%" />")