You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by jpedro <pe...@gmail.com> on 2007/08/20 17:43:08 UTC
Mapping select multiple to collention
Hi,
I have this code in my jsp:
<html:select property="selectedList" multiple="true">
<html:optionsCollection property="oList" value="id"
label="description"/>
</html:select>
the property oList is a typed List in the form and it works fine.
The problem is that i can only map the property selectedList to an array.
I wold like to map this property to a List or a Set. Is that possible?
Thanks,
JP
--
View this message in context: http://www.nabble.com/Mapping-select-multiple-to-collention-tf4299662.html#a12238358
Sent from the Struts - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Mapping select multiple to collention
Posted by Laurie Harper <la...@holoweb.net>.
jpedro wrote:
> Hi,
> I have this code in my jsp:
>
> <html:select property="selectedList" multiple="true">
> <html:optionsCollection property="oList" value="id"
> label="description"/>
> </html:select>
>
> the property oList is a typed List in the form and it works fine.
> The problem is that i can only map the property selectedList to an array.
> I wold like to map this property to a List or a Set. Is that possible?
>
> Thanks,
> JP
Please post questions about using Struts to the Struts Users list only.
The Struts Dev list is for discussing the development and enhancement of
Struts itself.
http://struts.apache.org/mail.html
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org