struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndario <>
Subject regex validator and BigDecimal
Date Mon, 25 Aug 2008 11:34:38 GMT


I am trying to enforce BigDecimal number format with regex validator but
validation simply does nothing. If I apply the same validator to the String
property, validator works but for some reason does not work with BigDecimal.
I guess the reason is that validation is applied to converted BigDecimal
object but not on the string which user entered.

Is there any way to validate the string before conversion to BigDecimal?


View this message in context:
Sent from the Struts - User mailing list archive at

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

View raw message