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-59536b0ca3774991599313/] Here is the FormFieldFactory code: [crayon-59536b0ca378a046650444/] 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