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
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}.
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.
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
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
5 matches
Mail list logo