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

[jira] Resolved: (STR-1276) The value(key) form name pattern doesn't work with

     [ http://issues.apache.org/struts/browse/STR-1276?page=all ]
     
Ted Husted resolved STR-1276:
-----------------------------

    Fix Version: 1.3.5
                     (was: 1.2 Family)
     Resolution: Fixed
      Assign To:     (was: Struts Developers)

Docmented in 1.3.5.


> The value(key) form name pattern doesn't work with <html:multibox/>
> -------------------------------------------------------------------
>
>          Key: STR-1276
>          URL: http://issues.apache.org/struts/browse/STR-1276
>      Project: Struts 1
>         Type: Improvement

>   Components: Core
>     Versions: Unknown
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Mike Youngstrom
>     Priority: Minor
>      Fix For: 1.3.5

>
> I've attempted to use the value(key) Map FormBean pattern with a <html:multibox> 
> and the result in my FormBean Map for the specified key is an object of type 
> String instead of an object of type String[] array.
> Example:
> <html:multibox property="value(emailAddr)">
> joe@bob.net
> </html:multibox> joe@bob.net
> <html:multibox property="value(emailAddr)">
> fred@foo.com
> </html:multibox> fred@foo.com
> In the returned for map
> Map.get("emailAddr").isArray() == false;
> and
> Map.get("emailAddr").getClass.getName == "String";
> even if both boxes are checked.
> Mike

-- 
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