July 2013
Beginner
246 pages
5h 3m
English
There's no better way to learn than practice. Follow these steps to see how binding works in real life:
BindingUI class.TextField and turn immediate mode on: @Override
protected void init(VaadinRequest request) {
TextField textField = new TextField("Data");
textField.setImmediate(true);
}Label:Label label = new Label();
TextField and Label components to a new VerticalLayout and set it to be the content of the UI:VerticalLayout layout = new VerticalLayout(); layout.addComponent(textField); layout.addComponent(label); ...