Vaadin SuggestionTextField

This is my first vaadin widget and very first exposure to Vaadin widgets. Earlier I was thinking that Vaading
widgetset are very difficult to implement since it uses the GWT as a bottom layer. All of a sudden i got a new requirement to build  suggestion text field that would populate the suggestion list depend on the user key in. Even though Vaadin "Select" has the filtering mode but it doesn't support to get the user key in events and implement the list according to that.
I have done some RnD work and decide to build a new Suggestion Text field component since its not available in Vaadin add-ons as well.

Vaadin Widget has two main parts one part for server side and other one for client side, client side component it has to implement using GWT basic layer component which will ultimately generate the javascript and transfer that to client side.

With this new Vaadin add-on developers can easily integrate this widget set as following

Import the jar file to classpath and place it under vaadin/ webcontent/WEB-INF/lib folder
 and put the new widget path in widget xml file as inhert.
now developer can use the new field in any vaadin form or any other layout.

Following is the Vaadin add-on page url to Suggestion TextBox


CoFFy said…
I think there is error in jar file in maven repository. There is following line in MANIFEST.MF:
Vaadin-Widgetsets: oorg.vaadin.amila.suggestiontextfield.SuggestionTex

So 1 extra "o" letter . I receive error during building widgetset:

Loading inherited module 'oorg.vaadin.amila.suggestiontextfield.SuggestionTextFieldWidgetset'
[ERROR] Unable to find 'oorg/vaadin/amila/suggestiontextfield/SuggestionTextFieldWidgetset.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
Amila Silva said…
Coffy, I'll fix it, thanks a lot for you feedback.
TealWren said…
It is not fixed yet, here:
Antoine Comble said…
I want to use this add-on but i can't retrieve the value entered by the user in the textfield.
Could you help me ?
Alessandro said…
Sorry, which Vaadin version supports this add-on?
I try to use it with Vaadin 6.7.8 and the widget is compiled, but it seems to be not compiled.

Popular posts from this blog

Solr Cloud 4.5

PostgreSQL bytea and oid

Microservices Architecture with Spring Boot in 15mins