Tatu Lund
0a8ef38b05
Bump hibernate-validator from 4.3.2.Final to 5.3.5.Final (#12083)
Hibernate Validator 5+ requires
- Validation API 2+
- explicit Expression Language dependency
3 years ago
Ilia Motornyi
6541b7bad2
Update copyright year (#10761)
6 years ago
Denis
1309be6c20
Provide a way to configure bean binder to auto set required fields (#8460)
@NotNull, @Size(min>1), @NotEmpty annotations are handled via default
configuration which marks fields as required.
Fixes #8382
7 years ago
Denis
fb2ceee075
Extract Bean validation logic from Binder to BeanValidationBinder
Fixes #8253
7 years ago
Pekka Hyvönen
66e7b3df3d
Rename com.vaadin.data.util.converter to com.vaadin.data.converter
7 years ago
Per-Åke Minborg
4bd1ce19eb
Add private constructor for utility classes
Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7210
7 years ago
Denis Anisimov
e4d132f4cb
Introduces ValidationResult interface to replace Result in validators.
Fixes vaadin/framework8-issues#414
Change-Id: I2d4e101f29542fadfdd30ce63455a0e078e0e735
7 years ago
Pekka Hyvönen
bcd7259e10
Remove Locale from BeanValidator because of ValueContext
Fixes vaadin/framework8-issues#417
Change-Id: I0d299cb040cc21e9708906f12f4133109f1b2a90
7 years ago
Teemu Suo-Anttila
524a69fd2d
Add ValueContext to Validators
Change-Id: I2ac99adf1fdb60dc0638e6fe98c4542ebd5f21a5
7 years ago
Denis Anisimov
0b5e2f3469
Extract validation availability check out of BeanValidator (#251).
BeanValidator uses and depends on javax.validation classes. So JSR303
presence check is extracted out of it to avoid ClassNotFoundException.
Change-Id: I8df9a9da873cf694a326c9abb05315c8e94a0a96
7 years ago
Artur Signell
82806ef9b7
Format the project using Neon, remove trailing whitespace
Change-Id: I145e20226958910c243b9897bb1e9516919f55cd
7 years ago
Artur Signell
77a5f855b9
Remove trailing whitespace
Change-Id: I697874595e9f70d606fe15037172b127915e4bfb
7 years ago
Johannes Dahlström
ec8904f6b0
Implement BeanBinder with JSR-303 validation
Change-Id: Ieaba56e9a26381d98b139845c30d65340dac0639
7 years ago
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
7 years ago
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
7 years ago
Denis Anisimov
81b849c1af
Convert old validators (#87).
Change-Id: I6e4a56855f78595975b645a08390fb56e0e52ef9
7 years ago
Denis Anisimov
314eb377dd
Move old validators to legacy package (pre-#87).
Change-Id: If6212ff2b7da0e87b3c68a3372b5f0b5a2a55b1a
7 years ago
Denis Anisimov
fd651d7921
Move Validator and Validatable into legacy package.
Change-Id: I7f8e9b1f7dff40ca76933cdf1978e3749f390142
7 years ago
Teemu Suo-Anttila
a6653d3fe4
Migrate vaadin-server build to maven
Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e
8 years ago
Artur Signell
e77e73cf64
Update copyright year to 2014
Change-Id: Ic77338304dc7e58e49f27dcdaf0bab2e00f5bba6
10 years ago
Jarno Rantala
47f4c612a9
BeanValidator changed to throw exception with array of causes (#11324)
BeanValidator was modified to throw InvalidValueException with array of causes
instead of exception with one message including HTML. This way
AbstractErrorMessage is able to create correct error notification message with
multiple lines.
Change-Id: I414189f56ac282daad9dd3fe58d13fd99108c479
11 years ago
Artur Signell
fb68bd5303
Updated copyright notices and added missing license headers
Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
11 years ago
Artur Signell
8d0c857382
Replaced license place holder with actual license (#8955)
11 years ago
Artur Signell
e85d933b25
Moved server files to a server src folder (#9299)
11 years ago
Leif Åstrand
3604bf01de
Add Java 6 @Override annotations to all methods from interfaces
11 years ago
Henri Sara
29d7012647
Rename BeanValidationValidator to BeanValidator based on review.
12 years ago
Henri Sara
be5404d3f7
Move bean validation implementation availability check to
BeanFieldGroup.
The check for bean validation implementation availability has to be
performed using reflection APIs because otherwise, at least the bean
validation API JAR would be needed at runtime.
12 years ago
Artur Signell
fe8c5864a0
Removed static helper for BeanValidationValidator as it incorrectly
mixes @NotNull with field required. Based on API review meeting.
12 years ago
Henri Sara
315398b7e8
Improve javadoc for bean validation (#8093).
12 years ago
Artur Signell
884d029ca7
#8093 Ensure that property id is a non-null String. Cache if Bean
Validation
implementation is available or not to avoid multiple lookups.
12 years ago
Artur Signell
0d6357abf3
#8095 Only use BeanValidation if a JSR-303 implementation is available
12 years ago
Artur Signell
b3ab514c4c
#8093 Removed unused method property, conversion and
BeanValidationForm.
12 years ago
Henri Sara
96b11d0213
Fix BeanValidation license information and make it serializable.
12 years ago
Henri Sara
41e6f404c4
#8093 Support JSR-303 Bean Validation
12 years ago