Hi,
I just have a question... is it possible to assign the following SelectItem to a dataSource?
For storing the values I call:
This methode provides me a result String like
In my datasource I use the following
But the datasource assignment does not work. Values are not selected. The string "10,20,30" appears as value in the combobox.
I used
martGWT: 6.1p (Build Sat, 02.12.2017)
OP: Ubuntu
Browser: Chrome
Thanks
Andy
I just have a question... is it possible to assign the following SelectItem to a dataSource?
Code:
LinkedHashMap<String, String> map = new LinkedHashMap<String, String>(); map.put("10", "car"; map.put("20", "bike"); map.put("30", "bus"); SelectItem item = new SelectItem("item", "item"); item.setValueMap( map ); item.setMultiple( true );
Code:
item.getValuesAsString();
Code:
10,20,30
Code:
DataSourceTextField itemField = new DataSourceTextField("item", "item"); itemField.setMultiple( true );
I used
martGWT: 6.1p (Build Sat, 02.12.2017)
OP: Ubuntu
Browser: Chrome
Thanks
Andy
Comment