4
L'annotation JSR-303 @Valid ne fonctionne pas pour la liste des objets enfants
Mes principales classes sont public class UserAddressesForm { @NotEmpty private String firstName; @NotEmpty private String lastName; private List<AddressForm> addresses; ... setters and getters public class AddressForm { @NotEmpty private String customName; @NotEmpty private String city; @NotEmpty private String streetAn; @NotEmpty private String streetHn; @NotEmpty private String addressCountry; @NotEmpty private String …
95
java
json
spring
spring-mvc
jsr