mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 08:24:13 +00:00
More updates for Data Binding doc restructuring
Closes gh-37228
This commit is contained in:
@@ -107,4 +107,6 @@ Kotlin::
|
||||
|
||||
|
||||
[[webflux-ann-initbinder-model-design]]
|
||||
NOTE: For more guidance on model design, please see xref:web/webflux/data-binding.adoc[Data Binding].
|
||||
== Model Design
|
||||
|
||||
Please see xref:web/webflux/data-binding.adoc[Data Binding] for more guidance on model object design.
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ recommended either to use an object tailored specifically for web binding, or to
|
||||
constructor binding only. If property binding must still be used, then _allowedFields_
|
||||
patterns should be set to limit which properties can be set. For further details on this
|
||||
and example configuration, see
|
||||
xref:web/webflux/controller/ann-initbinder.adoc#webflux-ann-initbinder-model-design[model design].
|
||||
xref:web/webflux/data-binding.adoc#webflux-data-binding-design[model design].
|
||||
|
||||
When using constructor binding, you can customize request parameter names through an
|
||||
`@BindParam` annotation. For example:
|
||||
|
||||
@@ -107,4 +107,6 @@ Kotlin::
|
||||
|
||||
|
||||
[[mvc-ann-initbinder-model-design]]
|
||||
NOTE: For more guidance on model design, please see xref:web/webmvc/mvc-data-binding.adoc[Data Binding].
|
||||
== Model Design
|
||||
|
||||
Please see xref:web/webmvc/mvc-data-binding.adoc[Data Binding] for guidance on safe model object design.
|
||||
+1
-1
@@ -84,7 +84,7 @@ recommended either to use an object tailored specifically for web binding, or to
|
||||
constructor binding only. If property binding must still be used, then _allowedFields_
|
||||
patterns should be set to limit which properties can be set. For further details on this
|
||||
and example configuration, see
|
||||
xref:web/webmvc/mvc-controller/ann-initbinder.adoc#mvc-ann-initbinder-model-design[model design].
|
||||
xref:web/webmvc/mvc-data-binding.adoc#mvc-data-binding-design[model design].
|
||||
|
||||
When using constructor binding, you can customize request parameter names through an
|
||||
`@BindParam` annotation. For example:
|
||||
|
||||
Reference in New Issue
Block a user