Re: pb using validator with struts1.2.9

2006-07-27 Thread Jeremy Jardin
on the ValidatorForm. Since server-side validation has to be done anyway, it's not like this detracts from the functionality. -Adam Jeremy Jardin wrote: -Adam, first, thanks for all those explications. but I've still a problem with my validator using 'validwhen'. I've seen first, that I don't

Re: pb using validator with struts1.2.9

2006-07-26 Thread Jeremy Jardin
Jeremy Jardin wrote: -Adam, I've just changed my conf like that : field property=enterpriseName depends=validwhen arg0 key=error.inscription.entreprise.nom / var var-nametest/var-name var-value

Re: pb using validator with struts1.2.9

2006-07-26 Thread Jeremy Jardin
1,2,3,4, the enterpriseName field will always be valid. Give that a whirl and let us know. cheers, -Adam Jeremy Jardin wrote: -Adam, I've just changed my conf like that : field property=enterpriseName depends=validwhen arg0 key

Re: pb using validator with struts1.2.9

2006-07-26 Thread Jeremy Jardin
; }. /script on your select tag call this function html:select property=subscriptionType styleId=inscrit styleClass=form onchange=ChangeUrl(this.value) you do not need to modify another section of code .. hope this help .. Regards Irwan On 7/26/06, Jeremy Jardin [EMAIL PROTECTED] wrote: hum, I

Re: pb using validator with struts1.2.9

2006-07-26 Thread Jeremy Jardin
var-value (((subscriptionType !=1)AND(*THIS*!=null)) OR (subscriptionType==1)) /var-value /var /field but it still doesn't work.. On 7/26/06, Jeremy Jardin [EMAIL PROTECTED] wrote: -Irwan, Thank you myuch for your help, but I

Re: pb using validator with struts1.2.9

2006-07-26 Thread Jeremy Jardin
) validateDate(form) validateEmail(form); return (formValidationResult); } } Maybe should I see a validateValidWhen(form) method should'nt I ? On 7/26/06, Jeremy Jardin [EMAIL PROTECTED] wrote: I've change my validwhen rule into this : field property

pb using validator with struts1.2.9

2006-07-25 Thread Jeremy Jardin
Hi, I'm trying to use struts plugin validator to check a big form.. and it works well.. but I've a little pb with validwhen constraint; I've written something like this : field property=enterpriseName depends=validwhen arg0

Re: pb using validator with struts1.2.9

2006-07-25 Thread Jeremy Jardin
Strings using inequalities... Hope this helps. -Adam Jeremy Jardin wrote: Hi, I'm trying to use struts plugin validator to check a big form.. and it works well.. but I've a little pb with validwhen constraint; I've written something like this : field property=enterpriseName

Re: pb using validator it does not work !

2006-07-21 Thread Jeremy Jardin
! 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

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 Jeremy Jardin
ValidatorForm ! On 7/20/06, Yee, Richard K CTR DMDC [EMAIL PROTECTED] wrote: 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

Re: pb using validator it does not work !

2006-07-20 Thread Jeremy Jardin
Jeremy Jardin wrote: 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