Intro to Vaadin Fusion forms: data binding, validation, custom validators - Marcus Hellberg

Опубликовано: 10 Октябрь 2024
на канале: vaadinofficial
1,736
23

In this video, Marcus Hellberg explains the basics of using Vaadin Fusion forms by building a simple blogging platform. You'll learn to define a model in Java, creating a Binder to manage the form, and using both server-side and client-side validations.

0:00 - Intro
1:47 - Walkthrough of the base app
2:25 - Data model
3:20 - Blog settings endpoint
4:10 - Creating a UI form for Blog
4:33 - Importing and defining UI fields for input
5:33 - Creating a Binder to manage form state
7:32 - Binding input fields to the model
9:37 - Saving the form
12:22 - Creating a form for Post
20:10 - Cross-field updates
23:21 - Custom validators
26:50 - Recap: Comments form
31:22 - Customizing the form submit
33:27 - GitHub details and wrap-up

GitHub link for the project: https://github.com/marcushellberg/vaa...