[Opensource] problem with multiple selects
Michael Rimov
rimovm at centercomp.com
Fri Feb 7 10:56:47 PST 2003
At 12:54 PM 2/7/2003 +0530, you wrote:
>Hi,
>I am not able to get multiple select to work from my JSP. I am using the
>Struts Tag library, in Expresso 5.0. Heres the code
><td>
> <html:select multiple="true" property="copyTo">
> <html:options name="queryForm" property="copyToList" />
> </html:select>
></td>
>
>copyTo is defined as String[]
>copyToList is an ArrayList
>queryForm is a subclass of ActionForm
>
>When I make multiple selects, only the first value is stored in copyTo.
>Has anyone had such a problem.
Well, my first guess is that you need to <logic:iterate> over the values...
make sure you're using the raw struts tags for this and not the Expresso
extended tags. Since you're using raw struts tags, if you can't get the
answers you need here, try posting to the struts-user list since I see
issues about <html:select/> tags every so often.
>In case this is a Struts bug ... would there be any Struts-Expresso
>integration issues if I put the latest Struts release in my Expresso lib?
We believe at this point that there would be... mainly due to configuration
issues. Peter Pilgrim is working on this, and we should know more soon.
HTH!
-Mike
More information about the Opensource
mailing list