Re: pb using validator it does not work !

2006-07-21 Thread Jeremy Jardin
or email and destroy the original message without making a copy. Thank you. - Original Message - From: Yee, Richard K CTR DMDC [EMAIL PROTECTED] To: 'Struts Users Mailing List' user@struts.apache.org Sent: Thursday, July 20, 2006 9:14 AM Subject: RE: pb using validator it does not work

pb using validator it does not work !

2006-07-20 Thread Jeremy Jardin
Hi, I'm trying to use validator plugin in my application, and it does not work at all ! First, I've just add html:errors/ in my jsp. I've written a basic validation.xml file like this : form name=StartSubscriptionForm field property=name depends=required arg0 key=inscription.nom/

RE: pb using validator it does not work !

2006-07-20 Thread Yee, Richard K CTR DMDC
What class is your sapinscription.form.StartSubscriptionForm extending? -Richard -Original Message- From: Jeremy Jardin [mailto:[EMAIL PROTECTED] Sent: Thursday, July 20, 2006 3:05 AM To: user@struts.apache.org Subject: pb using validator it does not work ! Hi, I'm trying to use

Re: pb using validator it does not work !

2006-07-20 Thread Adam Gordon
Jeremy- A couple of things: 1. Not sure what version of Struts you're using, but at least according to http://struts.apache.org/1.2.9/userGuide/building_view.html#validator, the property attribute for the validator should have the value of pathnames and not the path of your action. 2.

RE: pb using validator it does not work !

2006-07-20 Thread Adam Gordon
Jeremy- A couple of things: 1. Not sure what version of Struts you're using, but at least according to http://struts.apache.org/1.2.9/userGuide/building_view.html#validator, the property attribute for the validator should have the value of pathnames and not the path of your action. 2.

Re: pb using validator it does not work !

2006-07-20 Thread Wendy Smoak
On 7/20/06, Jeremy Jardin [EMAIL PROTECTED] wrote: !-- == Validator plugin ==-- plug-in className=org.apache.struts.validator.ValidatorPlugIn set-property property=/StartSubscription

Re: pb using validator it does not work !

2006-07-20 Thread Martin Gainty
@struts.apache.org Sent: Thursday, July 20, 2006 9:14 AM Subject: RE: pb using validator it does not work ! What class is your sapinscription.form.StartSubscriptionForm extending? -Richard -Original Message- From: Jeremy Jardin [mailto:[EMAIL PROTECTED] Sent: Thursday, July 20, 2006 3:05 AM

Re: pb using validator it does not work !

2006-07-20 Thread Jeremy Jardin
@struts.apache.org Subject: pb using validator it does not work ! Hi, I'm trying to use validator plugin in my application, and it does not work at all ! First, I've just add html:errors/ in my jsp. I've written a basic validation.xml file like this : form name=StartSubscriptionForm field property=name

Re: pb using validator it does not work !

2006-07-20 Thread Jeremy Jardin
A couple of things: 1. Not sure what version of Struts you're using, but at least according to http://struts.apache.org/1.2.9/userGuide/building_view.html#validator, the property attribute for the validator should have the value of pathnames and not the path of your action. It's ok I had

RE: pb using validator it does not work !

2006-07-20 Thread Adam Gordon
... return errors; } -- SNIP -- Let us know at least if you're getting your debug statements. -Adam -Original Message- From: Jeremy Jardin [mailto:[EMAIL PROTECTED] Sent: Thursday, 20 July 2006 13:28 To: Struts Users Mailing List Subject: Re: pb using validator it does not work