sezerug / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

SelectItem.getValues() should support other types than String[] #586

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In a SelectItem with multi selection enabled, you can get the selected values 
with the getValues() method, which currently returns only an array of type 
String. 

The SelectItem should provide also methods for returning the values as an array 
of Integer, Date, etc... as you could set as ValueField a field
with a type other than String.
(Or at least the getValues() method should return  a more generic Object[] 
array.)

Original issue reported on code.google.com by p.simona...@gmail.com on 16 May 2011 at 2:08