Polish documentation format
See gh-24460
This commit is contained in:
committed by
Stephane Nicoll
parent
547342b27d
commit
15b651cdfe
@@ -1971,6 +1971,7 @@ requires the Spring Validation API, as the following example shows:
|
|||||||
==== Configuring Custom Constraints
|
==== Configuring Custom Constraints
|
||||||
|
|
||||||
Each bean validation constraint consists of two parts:
|
Each bean validation constraint consists of two parts:
|
||||||
|
|
||||||
* A `@Constraint` annotation that declares the constraint and its configurable properties.
|
* A `@Constraint` annotation that declares the constraint and its configurable properties.
|
||||||
* An implementation of the `javax.validation.ConstraintValidator` interface that implements
|
* An implementation of the `javax.validation.ConstraintValidator` interface that implements
|
||||||
the constraint's behavior.
|
the constraint's behavior.
|
||||||
|
|||||||
@@ -3737,7 +3737,7 @@ use `FormatterRegistrar` implementations.
|
|||||||
By default, if <<core.adoc#validation-beanvalidation-overview, Bean Validation>> is present
|
By default, if <<core.adoc#validation-beanvalidation-overview, Bean Validation>> is present
|
||||||
on the classpath (for example, the Hibernate Validator), the `LocalValidatorFactoryBean`
|
on the classpath (for example, the Hibernate Validator), the `LocalValidatorFactoryBean`
|
||||||
is registered as a global <<core.adoc#validator,validator>> for use with `@Valid` and
|
is registered as a global <<core.adoc#validator,validator>> for use with `@Valid` and
|
||||||
`Validated` on `@Controller` method arguments.
|
`@Validated` on `@Controller` method arguments.
|
||||||
|
|
||||||
In your Java configuration, you can customize the global `Validator` instance,
|
In your Java configuration, you can customize the global `Validator` instance,
|
||||||
as the following example shows:
|
as the following example shows:
|
||||||
|
|||||||
Reference in New Issue
Block a user