RE: Validation with validwhen

2006-06-02 Thread Samere, Adam J
No, js support for validwhen is not provided. You can tell by looking at the validation-rules.xml file, which does not have a jsFunction attribute defined on the "validwhen" validator element. -Original Message- From: Cassio Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 1

RE: validation with validwhen

2006-05-26 Thread fea jabi
[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: RE: validation with validwhen Date: Fri, 26 May 2006 11:56:35 -0500 "and getting the error when used double." Could you explain that? Like what exactly do you input when

RE: validation with validwhen

2006-05-26 Thread Chaudhary, Harsh
, 2006 11:51 AM To: user@struts.apache.org Subject: RE: validation with validwhen no, it's not a dumb question. But yah, I do have the key right!! and getting the error when used double. Using 1.2.7 version of struts. Actually I did try >(*this* > 0) too but, this didn't wo

RE: validation with validwhen

2006-05-26 Thread fea jabi
o: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: RE: validation with validwhen Date: Fri, 26 May 2006 10:20:01 -0500 Fea, What version of struts are you using? Dumb question, but are you sure the key "lbl.notvalidnumber" is spelled right in you

RE: validation with validwhen

2006-05-26 Thread Chaudhary, Harsh
To: Struts Users Mailing List Subject: RE: validation with validwhen and also make sure it's value is greater than Zero. Do you need >= or > than 0? (*this* > 0) might do the trick. Thanks, Vijaya -Original Message- From: fea jabi [mailto:[EMAIL PROTECTED] Sent: Friday,

RE: validation with validwhen

2006-05-26 Thread Krishnan, Vijaya
alidation with validwhen Thankyou for the response. tried (*this* >= 0) but still not getting error message. any other suggessions? >From: "Chaudhary, Harsh" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" >To: "Struts Users Mailing List&quo

RE: validation with validwhen

2006-05-26 Thread fea jabi
Thankyou for the response. tried (*this* >= 0) but still not getting error message. any other suggessions? From: "Chaudhary, Harsh" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: RE: validation with

RE: validation with validwhen

2006-05-26 Thread Chaudhary, Harsh
Instead of this: (*this* >= 0) Use this: (*this* >= 0) Its to do with how your '>' characters are parsed. Harsh. -Original Message- From: fea jabi [mailto:[EMAIL PROTECTED] Sent: Friday, May 26, 2006 8:01 AM To: user@struts.apache.org Subject: RE: validation w

Re: validation with validwhen

2006-05-26 Thread The Jasper
Hi, from http://struts.apache.org/struts-doc-1.2.9/userGuide/dev_validator.html we learn that: If both items to be compared are convertable to ints, a numeric comparison is done, otherwise a string comparison is done. so since about any string is >= you will almost always get a valid check. I

RE: validation with validwhen

2006-05-26 Thread fea jabi
can someone help me with this please? thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: validation with validwhen Date: Thu, 25 May 2006 12:31:56 -0400 want to validate a property for required, and also make sure it's value