Re: Issue with Tapestry, JPA and JSR 303 annotations.

2011-10-21 Thread Julien Martin
Hello again, I sorted the problem thanks to Igor's help as follows: Thanks, Julien. 2011/10/21 Julien Martin > Igor, > Here is the page: > > *public class InscriptionProfessionnelGardeEnfant {* > * > * > *@Property* > *@Persist* > *@Valid* > *private ChildminderAccount childmi

Re: Issue with Tapestry, JPA and JSR 303 annotations.

2011-10-21 Thread Julien Martin
Igor, Here is the page: *public class InscriptionProfessionnelGardeEnfant {* * * *@Property* *@Persist* *@Valid* *private ChildminderAccount childminderAccount;* * * *@Property* *private SelectModel childminderStatusSelectModel;* * * *@Inject* *private SelectModelFa

Re: Issue with Tapestry, JPA and JSR 303 annotations.

2011-10-21 Thread Igor Drobiazko
Either the object graph is not traversed or your ChildminderAccount object is null. The @Valid annotation is ignored for null objects. Please post the entire page class and template. You can also pass childminderAccount to the Form's validate parameter. On Thu, Oct 20, 2011 at 9:53 PM, Julien Mart

Re: Issue with Tapestry, JPA and JSR 303 annotations.

2011-10-21 Thread Julien Martin
up 2011/10/20 Julien Martin > Hi Igor, > > Yes I do use the form component as follows: > > From the class: > *@InjectComponent* > *private Form childminderRegistrationForm;* > * > * > From template: > *clientValidation="none">* > > Julien. > > 2011/10/20 Igor Drobiazko > >> Please m

Re: Issue with Tapestry, JPA and JSR 303 annotations.

2011-10-20 Thread Julien Martin
Hi Igor, Yes I do use the form component as follows: >From the class: *@InjectComponent* *private Form childminderRegistrationForm;* * * >From template: * * Julien. 2011/10/20 Igor Drobiazko > Please more details. "one of my Tapestry classes" is not precise enough to > identify the

Re: Issue with Tapestry, JPA and JSR 303 annotations.

2011-10-20 Thread Igor Drobiazko
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 wrote: > Hello, > > I have the following property in one of my Tapes