Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: make Forms more prominent in documentation #4082

Open
wants to merge 7 commits into
base: latest
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion articles/flow/binding-data/components-binder.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Binding Data to Forms
page-title: How to bind data with components using binder | Vaadin
page-title: How to bind data to forms using binder with Vaadin Flow
description: How to bind data to forms, which are composites with multiple fields that each bind to sub-structures in data.
meta-description: Learn how to bind data to forms, which are composites with multiple fields that each bind to sub-structures in data, in Vaadin Flow.
order: 10
Expand Down
18 changes: 9 additions & 9 deletions articles/flow/binding-data/index.adoc
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
title: Data Binding
page-title: How to bind data effectively in Vaadin
description: Show data in listing components and collect user input using form fields.
meta-description: Explore data binding techniques in Vaadin Flow to ensure accurate data handling.
title: Forms pass:[&] Data Binding
page-title: How to bind data effectively to forms and selection components in Vaadin.
description: Learn how to bind data to forms and selection components in Vaadin Flow.
meta-description: Learn how to bind data to forms and selection components in Vaadin Flow.
order: 60
---


= Data Binding
= Forms pass:[&] Data Binding

Vaadin Flow includes mechanisms to bind field components, as well as forms consisting of fields directly to business objects (e.g., Java beans). Binding is buffered, so you can load and reload data from the source to fields, and then save the edited data back.
Vaadin Flow includes mechanisms to bind field components, as well as forms consisting of fields, to business objects (e.g., Java beans). Binding is buffered, so you can load and reload data from the source to fields, and then save the edited data back.

[.example.show-code]
--
This example has a view with two editors, one writable, one read-only. When the user clicks *Save*, the form data is written to the [classname]`BusinessPerson` object, which is reflected in the read-only form.
This example has a view with two editors: one writable, and one read-only. When the user clicks *Save*, the form data is written to the [classname]`BusinessPerson` object, which is reflected in the read-only form.

[source,java]
----
Expand All @@ -36,8 +36,8 @@ include::{root}/frontend/demo/flow/binding/binding-overview.ts[hidden]
----
--

Field and form input can be validated before saving.
Additionally, when loading and saving, the data representation may need to be converted between the field type and the underlying data types in the business objects.
Field and form input can be validated before saving. Additionally, when loading and saving, the data representation may need to be converted between the field type and the underlying data types in the business objects.


== Topics

Expand Down
Loading