RE: Validator Form and inheritance

2005-07-06 Thread Charles . Gouin-Vallerand
eed to use protected instead of private. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 30, 2005 4:19 PM To: Struts Users Mailing List Subject: RE: Validator Form and inheritance Sorry, the problem is not evident to me. Perhaps you could explain what ha

RE: Validator Form and inheritance

2005-06-30 Thread erikweber
30, 2005 3:16 PM To: user@struts.apache.org Subject: RE: Validator Form and inheritance I was using the validation for other form and it's work fine. I just have difficulty to validate field from a extend class. There is a snippet of my code : The declaration in the

RE: Validator Form and inheritance

2005-06-30 Thread Charles . Gouin-Vallerand
e 30, 2005 3:00 PM To: Struts Users Mailing List Subject: Re: Validator Form and inheritance I take it you are using the Validator plugin? Do you have the xml files setup correctly? Is there a form-bean defined as type AddBottleForm? Is this the type you specify in your action mapping? Does vali

Re: Validator Form and inheritance

2005-06-30 Thread erikweber
struts-config.xml? Are all the fields of that form defined in that section of validation.xml? It might help if you post all the relevant code/xml portions. Erik -Original Message- From: [EMAIL PROTECTED] Sent: Jun 30, 2005 2:55 PM To: user@struts.apache.org Subject: Validator Form and

Validator Form and inheritance

2005-06-30 Thread Charles . Gouin-Vallerand
Hi EveryBody, I'm trying to use some inheritance with ValidatorForm. But, when it's time to validate some field from the father class in the child class, it doesn't work. I know that i'm not clear but check this exemple you will understand more : I got a BottleForm class that is ext