up 2011/10/20 Julien Martin <bal...@gmail.com>
> Hi Igor, > > Yes I do use the form component as follows: > > From the class: > * @InjectComponent* > * private Form childminderRegistrationForm;* > * > * > From template: > * <form t:type="form" t:id="childminderRegistrationForm" validate="this" > clientValidation="none">* > > Julien. > > 2011/10/20 Igor Drobiazko <igor.drobia...@gmail.com> > >> Please more details. "one of my Tapestry classes" is not precise enough to >> identify the problem. You are using the Form component, right? Did you use >> the Form's validate parameter? >> >> On Thu, Oct 20, 2011 at 9:30 PM, Julien Martin <bal...@gmail.com> wrote: >> >> > Hello, >> > >> > I have the following property in one of my Tapestry classes: >> > * @Property* >> > * @Persist* >> > * @Valid* >> > * private ChildminderAccount childminderAccount;* >> > >> > >> > The ChildminderAccount entity extends an abstract Account entity class >> as >> > follows: >> > * public class ChildminderAccount extends Account* >> > >> > And finally the Account entity class has several properties including >> this >> > one: >> > * @NotNull* >> > * private String accountFirstname;* >> > >> > The problem I have is that Tapestry won't validate the annotated >> properties >> > even though I have added the tapestry-beanvalidator jar in the >> classpath. >> > >> > Note that I don't use the beanform component for now. >> > >> > I use T5.2.6. >> > >> > Can anyone please help? >> > >> > Regards, >> > >> > Julien. >> > >> >> >> >> -- >> Best regards, >> >> Igor Drobiazko >> http://tapestry5.de >> > >