From c3c8c66f59bae39fe0b1241753f04f98b4f28515 Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Tue, 26 Mar 2013 15:27:23 +0100 Subject: [PATCH] allow to to set html attribute to the select widget (useful to add code like onchange="this.form.submit()") --- library/server/wsf_html/form/wsf_form_select.e | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/server/wsf_html/form/wsf_form_select.e b/library/server/wsf_html/form/wsf_form_select.e index 8802daa0..d48bacbb 100644 --- a/library/server/wsf_html/form/wsf_form_select.e +++ b/library/server/wsf_html/form/wsf_form_select.e @@ -12,6 +12,8 @@ inherit WSF_FORM_UTILITY + WSF_WITH_HTML_ATTRIBUTE + create make @@ -115,6 +117,7 @@ feature -- Conversion append_css_class_to (a_html, Void) append_css_id_to (a_html) append_css_style_to (a_html) + append_html_attributes_to (a_html) if is_readonly then a_html.append (" readonly=%"readonly%" />")