Hi,
I'm trying to do a filtered selection list on a popup. When I press a button a popup with list should appear, I should choose an option, then popup should close, and the code shoulde runs with selected value.
To do this I use KeywordFilterField on popup. How can I read the value selected on KeywordFilterField?
Mine code:
Code:
_placeSelect = new Dialog(ResourceHelper.getResource(BiometeoResource.lbl_select_city), null, null, 0, null);
KeywordFilterField _keywordFilterField = new KeywordFilterField();
_keywordFilterField.setLabel(ResourceHelper.getResource(BiometeoResource.lbl_select_city));
_keywordFilterField.setSourceList(places, places);
_placeSelect.add(_keywordFilterField);
_placeSelect.doModal();
It should show popup with search KeywordFilterField (I dont't know why KeywordFilterField shows without text box above??), and when user selects one opction from KeywordFilterField, the popup should close, how can I acheive this?