O'Reilly logo

Learning Vaadin by Nicolas Frankel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Creating Custom Components

Although Vaadin provides many great components out-of-the-box, you may have a need to create a widget of your own. Also, enterprises as well as individual developers are bound to propose some, either free of charge or commercially.

Allowing the creation of custom components is a feature designed into Vaadin itself. In this chapter, we'll have a look at doing it in two different ways:

  • The first method to create a custom component in Vaadin is to compose it from other widgets
  • The second way is to wrap a GWT widget in a Vaadin envelope

Learning both these techniques will get you a long way toward getting the best out of the framework.

Widget composition

Composing other widgets can either be very simple or be a daunting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required