Skip to content

Commit 2f458f9

Browse files
committed
Merge branch '7.0.x'
2 parents 16e0ed0 + 4d98ff5 commit 2f458f9

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

framework-docs/modules/ROOT/pages/web/webflux/data-binding.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ It is a core mechanism of the Spring Framework that helps with application confi
99
In web applications it makes it easy to access query parameters and form data through richly typed objects rather than through maps of string values.
1010

1111
To learn more about the data binding mechanism, including constructor and setter binding, property name syntax, type conversion,
12-
and more, see the xref:core/validation/data-binding.adoc[Data binding] in the Core Technologies section.
12+
and more, see xref:core/validation/data-binding.adoc[Data binding] in the Core Technologies section.
1313

1414
For annotated controllers, data binding applies to a
1515
xref:web/webflux/controller/ann-methods/modelattrib-method-args.adoc[@ModelAttribute] method argument.

framework-docs/modules/ROOT/pages/web/webmvc/mvc-data-binding.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ It is a core mechanism of the Spring Framework that helps with application confi
99
In web applications it makes it easy to access query parameters and form data through richly typed objects rather than through maps of string values.
1010

1111
To learn more about the data binding mechanism, including constructor and setter binding, property name syntax, type conversion,
12-
and more, see the xref:core/validation/data-binding.adoc[Data binding] in the Core Technologies section.
12+
and more, see xref:core/validation/data-binding.adoc[Data binding] in the Core Technologies section.
1313

1414
For annotated controllers, data binding applies to a
1515
xref:web/webmvc/mvc-controller/ann-methods/modelattrib-method-args.adoc[@ModelAttribute] method argument.

framework-docs/modules/ROOT/partials/web/web-data-binding-model-design.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ For example:
3030

3131
NOTE: It is also possible to configure `disallowedFields`, but that's fragile, and
3232
due to be https://github.com/spring-projects/spring-framework/issues/36802[deprecated] in Spring Framework 7.1.
33-
It is easy to miss or add others over time that should also be excluded.
33+
It is easy to overlook fields or introduce additional fields over time that should also be excluded.
3434

3535
By default, `DataBinder` applies both constructor and setter binding.
3636
This is fine with immutable objects and dedicated objects, but for domain objects, you must
3737
remember to set `allowedFields`. To ensure data binding is only used in declarative style where
3838
expected inputs are explicitly declared, you can set `declarativeBinding` on `DataBinder`.
3939
That applies constructor binding always, and setter binding conditionally if `allowedFields` is set.
40-
The below shows how to set this flag globally, or
40+
The following shows how to set this flag globally, or
4141
you can also narrow it through attributes on `ControllerAdvice`:
4242

4343
[source,java,indent=0,subs="verbatim,quotes"]

0 commit comments

Comments
 (0)