hi all,
I have strange problem
I have filled ComboBoxItem using datasource like that :
if i type into combobox for example "not valid street" and move focus to another component i got this exception :
after this exception combobox not working normally although normal text. for example "Tbilisi Street" (which exists into datasource).
after this, I tried to set attribute :
exception didn't appear but i got another problem : "streetItem.setValue(1126);" (1126 is street ID) doesn't work.
how I can fix this issue ?
Regards,
Paata Lominadze
I have strange problem
I have filled ComboBoxItem using datasource like that :
Code:
ComboBoxItem streetItem = new ComboBoxItem(); streetItem.setTitle("Street"); streetItem.setName("street_district_id"); streetItem.setWidth(150); Criteria criteria = new Criteria(); criteria.setAttribute("city_id", city_id); streetItem.setOptionCriteria(criteria); streetItem.setOptionOperationId("customStreetsSearch"); streetItem.setOptionDataSource(streetsDS); streetItem.setValueField("street_district_id"); streetItem.setDisplayField("street_name_geo"); streetItem.setAutoFetchData(true); streetItem.fetchData();
Code:
[ERROR] [callcenter] - 20:30:28.703:XRP1:WARN:fetchMissingValues:isc_ComboBoxItem_16: FetchMissingValues - filterLocally is false yet optionDataSource fetch included records that do not match our current data value. Ignoring these values.
after this, I tried to set attribute :
Code:
streetItem.setFetchMissingValues(false);
how I can fix this issue ?
Regards,
Paata Lominadze
Comment