struts-user mailing list archives

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

Hello,

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?

thanks!

Dario
-- 
View this message in context: http://www.nabble.com/regex-validator-and-BigDecimal-tp19142200p19142200.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message