hello
how to integrate spring rcp and hibernate validator for form?, I try the following
i have a AbstractForm
and this is object domainCode:public class CustomerForm extends AbstractForm { CustomerForm(Customer customer) { super(customer); setId("customer"); HibernateRulesValidator r = new HibernateRulesValidator(getFormModel(), Customer.class); getFormModel().setValidator(r); } ... }
any idea that does not work?, specifically the attribute address.Code:public class Customer { @NotEmpty private String firstName; @Valid private Address address; .... }
Thanks


Reply With Quote