comboboxes in vaadin

Handling two ComboBoxes in Vaadin

This post is a solution to a problem I faced developing an application in Vaadin. It is related to handling two ComboBoxes in Vaadin, where the values in the second ComboBox depend on the selection of the first ComboBox Handling two ComboBoxes in Vaadin The Vaadin form component is easily handled and rendered with a FormFieldFactory. So I have a Form called MusicForm [crayon-5c17d9681b5e9467481669/] Here is the FormFieldFactory code: [crayon-5c17d9681b5f6064140846/] The key here is to add the comboBox as a field in the uiContext which eventually is of type MusicForm. When the user sel...
Read More