RE: validator, range

2003-11-06 Thread Budi Rostiarso
an [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 1:17 PM To: Struts Users Mailing List Subject: RE: validator, range Why not just setup a few constants and use them later as your ${var:max} where appropriate? I got the maxInteger value from echo printing Integer.MAX_VALUE. Once yo

RE: validator, range

2003-11-05 Thread David Friedman
Why not just setup a few constants and use them later as your ${var:max} where appropriate? I got the maxInteger value from echo printing Integer.MAX_VALUE. Once you define a constant for maxInteger or maxFloat, just reference it as your var {$maxFloat} or var {$maxInteger}.

RE: Validator range server-side check assumes Integer?

2003-07-25 Thread Yansheng Lin
Then use doubleRange:). -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Brian Chaplin Sent: July 24, 2003 4:56 PM To: [EMAIL PROTECTED] Subject: Re: Validator range server-side check assumes Integer? I want to check that it's within range and also a double.

Re: Validator range server-side check assumes Integer?

2003-07-24 Thread Brian Chaplin
I want to check that it's within range and also a double. With or without the double it still tries to validate it as an integer. I suspect intRange will continue to do that. "Yansheng Lin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Try to use 'intRange' instead of 'range'. 'r

RE: Validator range server-side check assumes Integer?

2003-07-24 Thread Yansheng Lin
Try to use 'intRange' instead of 'range'. 'range' is deprecated. Also if it's a int, why there is a 'double' in depends? -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Brian Chaplin Sent: July 24, 2003 2:02 PM To: [EMAIL PROTECTED] Subject: Validator range serve