You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by otisg <ot...@ureach.com> on 2003/05/22 18:32:58 UTC

minLong or minInteger validator?

Hello,

Does Struts not come with a validator that check that a number
(Integer, Long...) is greater than some minimum?

I need to validate some numbers entered in the form, and I need
to validate that they are greater than some number (this is not
the same as checking the range).

Does Struts come with something like this, or should I write my
own?  I looked at the existing validators, and the closest thing
is the 'intRange' and 'floatRange', but those require that one
specifies both minimum and maximum number of the range.
I just need to verify that my number is greater than some
minimum.

Can I reuse some existing validator or should I write my own?

Thanks,
Otis



________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org