Creating a custom ListSelect in Vaadin 7

Hi,

I am trying to create a customized version of the ListSelect component in Vaadin 7. I have found several examples of creating a custom component using the newer Connector/Shared State/RPC APIs but these are usually for simple components like buttons or textfields. I’m not sure how to extend these to bind to a data source and support selections.

The code for ListSelect in Vaadin 7 uses the older UIDL API (https://github.com/vaadin/vaadin/blob/master/client/src/com/vaadin/client/ui/optiongroup/OptionGroupBaseConnector.java). Is there a reason that this does not use the newer Connector/Shared State/RPC APIs? Can you point me to an example of creating a component like this using the newer approach?

I may be misundertstanding the custom component documentation entirely – I am quite new to Vaadin.

Regards,
Martin.