Skip to content

stefanuebe/combo-box-light

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Light ComboBox project

Light version of ComboBox for Vaadin 23 based on existing web components of Vaadin 23. This version of the ComboBox specifically has been simplified by removal of client - server lazyloading mechanism. The benefit of this is that with small datasets of options faster response time of ComboBox opening is achieved. The component however is not suitable when dataset of options is larger. The Java API is reduced version of the Vaadin 24 ComboBox due removal of some features. Also this removal of lazy loading makes it possible to have scroll to selected item working all the time.

Development instructions

Important Files

  • ComboBoxLight.java: this is the addon-on component class.
  • CompView.java: A View class that let's you test the component you are building.
  • src/main/resources/META-INF/resources/frontend/src contains actual web component, mostly copied from Vaadin 23.

Deployment

Starting the test/demo server:

mvn jetty:run

This deploys demo at http://localhost:8080/light

Integration test

To run Integration Tests, execute mvn verify -Pit,production.

Publishing to Vaadin Directory

You should change the organisation.name property in pom.xml to your own name/organization.

    <organization>
        <name>###author###</name>
    </organization>

You can create the zip package needed for Vaadin Directory using

mvn versions:set -DnewVersion=1.0.0 # You cannot publish snapshot versions 
mvn install -Pdirectory

The package is created as target/combo-box-light-1.0.0.zip

For more information or to upload the package, visit https://vaadin.com/directory/my-components?uploadNewComponent

About

Light ComboBox without lazy loading feature

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%