You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Anikanchan Raut (JIRA)" <ji...@apache.org> on 2006/09/07 16:58:31 UTC

[jira] Commented: (STR-2934) Listbox Problem after unselect

    [ http://issues.apache.org/struts/browse/STR-2934?page=comments#action_38154 ] 
            
Anikanchan Raut commented on STR-2934:
--------------------------------------

The simple fix to that problem is to reset the multi select String[] in the reset method of the form. That way it is nullified everytime form is accessed and then it goes to setter.

> Listbox Problem after unselect
> ------------------------------
>
>                 Key: STR-2934
>                 URL: http://issues.apache.org/struts/browse/STR-2934
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Taglibs
>    Affects Versions: 1.2.7
>         Environment: Windows 2000, Tomcat 5.0.18
>            Reporter: Harshad Bhatwadekar
>
> This issue comes up when we have a html:select and it is multiple=true. When the user unselect the existing values and does not select any value, the old value of select option is submitted and  not the null value.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira