You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "David Evans (JIRA)" <ji...@apache.org> on 2006/04/25 01:02:10 UTC
[jira] Closed: (STR-3) select tag does not correctly render
multiple selected options BugRat Report#450
[ http://issues.apache.org/struts/browse/STR-3?page=all ]
David Evans closed STR-3:
-------------------------
Resolution: Fixed
> select tag does not correctly render multiple selected options BugRat Report#450
> --------------------------------------------------------------------------------
>
> Key: STR-3
> URL: http://issues.apache.org/struts/browse/STR-3
> Project: Struts Action 1
> Type: Bug
> Components: Taglibs
> Versions: Nightly Build
> Environment: Operating System: All
> Platform: All
> Reporter: Bruno Antunes
> Assignee: Craig McClanahan
> Fix For: 1.0.0
>
> If we use a <struts:select ... multiple"any">,
> the items rendered with the <struts:options ...> tag
> are not correctly selected, only one item is
> actually selected.
> You have in your code something like
> String match = selectTag.getMatch();
> The match should be in fact a Colection, and the
> selected options should be rendered as
> match.contains(value), instead of match.equals(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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org