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 年之前
Ilia Motornyi
6541b7bad2
Update copyright year (#10761)
6 年之前
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 年之前
Denis
fb2ceee075
Extract Bean validation logic from Binder to BeanValidationBinder
Fixes #8253
7 年之前
Denis
f42b9657b8
Introduce DateTimeFile and InlineDateTimeField. (#8218)
* Introduce DateTimeFile and InlineDateTimeField.
Fixes #8132
* Correct and provide declarative tests.
* Provide a date converter and UI tests.
7 年之前
Pekka Hyvönen
66e7b3df3d
Rename com.vaadin.data.util.converter to com.vaadin.data.converter
7 年之前
Per-Åke Minborg
0f42869ce1
Use final modifier where appropriate
Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7226
7 年之前
Per-Åke Minborg
4bd1ce19eb
Add private constructor for utility classes
Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7210
7 年之前
Pekka Hyvönen
2cb106ce09
Add Bindinding.setRequired
Shorthand for making field show required indicator and validating against empty.
Removes obsolete NotNullValidator and NotEmptyValidator. Latter is still used
in some tests, that why it is still in test packages.
Fixes vaadin/framework8-issues#29
Change-Id: Ib116739a20a0bbd1b1460423ee36ed2752c5496a
7 年之前
Denis Anisimov
e4d132f4cb
Introduces ValidationResult interface to replace Result in validators.
Fixes vaadin/framework8-issues#414
Change-Id: I2d4e101f29542fadfdd30ce63455a0e078e0e735
7 年之前
Pekka Hyvönen
48c249a13e
Replace setRequired & HasRequired with setRequiredIndicator
Vaadin 7 compatiblity fields still use setRequired via AbstractField (legacy).
Public setRequiredIndicator is added to AbstractField, AbstractMultiSelect and AbstractSingleSelect.
Internally it is still handled on AbstractComponent & -Connector level.
Changes the declarative syntax, required -> required-indicator-visible.
Fixes vaadin/framework8-issue#419
Change-Id: I940dc66944d27584bd78e5452aee627ee3abd03a
7 年之前
Pekka Hyvönen
bcd7259e10
Remove Locale from BeanValidator because of ValueContext
Fixes vaadin/framework8-issues#417
Change-Id: I0d299cb040cc21e9708906f12f4133109f1b2a90
7 年之前
Teemu Suo-Anttila
524a69fd2d
Add ValueContext to Validators
Change-Id: I2ac99adf1fdb60dc0638e6fe98c4542ebd5f21a5
7 年之前
Leif Åstrand
3f37f893cb
Correct serializable issues and test that components can be serialized
Change-Id: Iac8f0f48806c0a7c3030bd406e2e533104f26753
7 年之前
Denis Anisimov
0052d59a31
Update DateRangeValidator to be LocalDate based (#320).
Change-Id: I46500d5dd740b806bfa8c3849c54253c6ae92187
7 年之前
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 年之前
Artur Signell
82806ef9b7
Format the project using Neon, remove trailing whitespace
Change-Id: I145e20226958910c243b9897bb1e9516919f55cd
7 年之前
Artur Signell
77a5f855b9
Remove trailing whitespace
Change-Id: I697874595e9f70d606fe15037172b127915e4bfb
7 年之前
Johannes Dahlström
ec8904f6b0
Implement BeanBinder with JSR-303 validation
Change-Id: Ieaba56e9a26381d98b139845c30d65340dac0639
7 年之前
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
7 年之前
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
7 年之前
Denis Anisimov
06414d6f47
Provide a NotEmptyValidator for Binder setRequired functionality.
Change-Id: I703912f29d884b655bafa7e801bf1454b65e32b4
7 年之前
Denis Anisimov
81b849c1af
Convert old validators (#87).
Change-Id: I6e4a56855f78595975b645a08390fb56e0e52ef9
7 年之前
Denis Anisimov
314eb377dd
Move old validators to legacy package (pre-#87).
Change-Id: If6212ff2b7da0e87b3c68a3372b5f0b5a2a55b1a
7 年之前
Denis Anisimov
fd651d7921
Move Validator and Validatable into legacy package.
Change-Id: I7f8e9b1f7dff40ca76933cdf1978e3749f390142
7 年之前
Teemu Suo-Anttila
a6653d3fe4
Migrate vaadin-server build to maven
Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e
8 年之前