AutocompleteField for Vaadin
AutocompleteField for Vaadin
This component retrieves suggestions from remote services while the user types
Maven dependency
com.zybnet vaadin-autocomplete 1.1.0Thanks to Jeff T. Thorson for the focus-related patches
Sample code
AutocompleteField<WikipediaPage> search = new AutocompleteField<>(); search.setQueryListener(new AutocompleteQueryListener<WikipediaPage>() { @Override public void handleUserQuery(AutocompleteField<WikipediaPage> field, String query) { for (WikipediaPage page : queryWikipediaApi(query)) { field.addSuggestion(page, page.getTitle()); } } }); search.setSuggestionPickedListener(new AutocompleteSuggestionPickedListener<WikipediaPage>() { @Override public void onSuggestionPicked(WikipediaPage page) { handleSuggestionSelection(page); } });
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Keep selected text when switching tab
- Released
- 2014-11-29
- Maturity
- BETA
- License
- Public Domain
Compatibility
- Framework
- Vaadin 7.2+
- Vaadin 7.0+ in 1.0-SNAPSHOT
- Browser
- N/A
AutocompleteField for Vaadin - Vaadin Add-on Directory
AutocompleteField for VaadinThis component retrieves suggestions from remote services while the user types
Maven dependency
com.zybnet
vaadin-autocomplete
1.1.0
Thanks to Jeff T. Thorson for the focus-related patches
Author HomepageIssue Tracker
Source Code
Discussion Forum
AutocompleteField for Vaadin version 1.0-SNAPSHOT
First release
AutocompleteField for Vaadin version 1.0.0
Fixed popup placement
AutocompleteField for Vaadin version 1.1.0
Implemented focus-related functionalities
AutocompleteField for Vaadin version 1.1.1
Keep selected text when switching tab