Creating a GWT SuggestOracle with custom object suggestions
问题 I'm trying to convert a drop down box widget into a SuggestionBox because the current drop down menu has 100+ choices. It seems like you can only add String suggestions to a SuggestOracle though. I need to be able to add a custom object that contains both a description and an ID that matches the record to the database though. Would I have to extend the SuggestOracle class? 回答1: Yes as i know you can not use pair of values i.e Id and Value. You have to add your strings in suggestion box