Error in documentation: Integrating a Vaadin Component into the Generic UI

Hello,

I’m following those instructions and near the end, when you change the CustomerEdit controller i got that the setDatasource method cannot be resolved. What could be wrong?

I’m attaching the screen.

error in sample

I found what was wrong: by default the Stepper is created as:

public interface Stepper extends Component

but for the example i had to change to:

public interface Stepper extends Field