Hello everybody!

I'm using Struts2 2.0.11 and I'm having a problem with the select multiple
tag. This is the code I use:

                        <s:select  list="eligibleUsers" listKey="appuserId"
listValue="name" name="client.availableSalesmen"
value="%{client.availableSalesmen.{name}}" multiple="true" size="10"/>

eligibleUsers and client.availableSalesmen are ArrayList of objects Users,
which I have defined in the correpsonding conversion file of the action. I
also populate these arrays, but when I send data (watching the netbeans
debugger) I can see that the selected values mapped to the variable
client.availableSalesmen are passed to the action as a array of strings
instead as an array of the class User objects. So I cannot handle it right
in the action.

Any clue would be highly appreciated. I'm desperate.

Thanks a lot!

 Abel S.





-- 
View this message in context: 
http://www.nabble.com/Problem-with-select-multiple-tp14948204p14948204.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to