The struts2 document says:
[The tag will pre-select multiple values if the values are passed as
an Array or a Collection(of appropriate types) via the value
attribute]
see:
http://struts.apache.org/2.2.1/docs/updownselect.html
So maybe you need define the property in your action as an Array.
You should re-shape your DB design IMHO. If you expect multiple values
for an entity property why do you declare as a plain string? You
should consider to represent as at least an integer array (or even as
an entity).
2010/11/5 Nick Broadhurst hou1...@gmail.com:
Hi All,
I am using the struts2
Thanks guys! String setup was legacy for single select which worked fine.
Select is populated with entity list so will re-work form entity to have
select list entity as property and go from there. Cheers!
On Nov 5, 2010 6:02 AM, Maurizio Cucchiara maurizio.cucchi...@gmail.com
wrote:
You should
Hi All,
I am using the struts2 updownselect for getting multiple selections from
user. It is populated by a list and works great as long as only one item is
selected. The datatype in mysql where the field is being persisted to is a
string. If one item is selected, the ID (listKey) goes into the
4 matches
Mail list logo