struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rene Gielen <>
Subject Re: [S2] Is there some BigDecimal validator and conversion routines?
Date Thu, 02 Aug 2007 11:17:58 GMT
You are right, there is no bundled BigDecimal related validator in
place, but it should be quite easy to implement (eg. extend
FieldValidatorSupport). For registering, see

BTW, is it really validation you are searching for, or is it conversion
(or both)? Note that these are two different topics.


Gabriel Belingueres schrieb:
> Hi,
> I want to enter numeric data in my form and I want it to go into a
> BigDecimal action value, however it seems that I can't validate it
> using some "bigdecimal" validator in the *-validation.xml file.
> There is a double validator, but I don't know if it will introduce
> rounding or truncation errors into my BigDecimal value.
> Any ideas?
> TIA,
> Gabriel
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message